MyBB < 1.2.11 forumdisplay.php sortby Parameter Command Execution

High Nessus Network Monitor Plugin ID 4346


The remote web server contains a PHP script that allows arbitrary command execution.


The version of MyBB installed on the remote host fails to sanitize input to the 'sortby' parameter of the 'forumdisplay.php' script before using it in an 'eval()' statement to evaluate PHP code. An unauthenticated attacker can leverage this issue to execute arbitrary code on the remote host subject to the privileges of the web server user ID. In addition, this version of MyBB is vulnerable to several SQL injection attacks that, if exploited, would give the attacker the ability to execute arbitrary SQL commands on the database server utilized by MyBB.


Upgrade to version 1.2.11 or higher.

See Also

Plugin Details

Severity: High

ID: 4346

Family: CGI

Published: 2008/01/17

Modified: 2016/01/15

Dependencies: 1442

Nessus ID: 29996

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C


Base Score: 7.3

Temporal Score: 6.8


Temporal Vector: CVSS3#E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:mybb:mybb

Exploitable With


Reference Information

CVE: CVE-2008-0382, CVE-2008-0383

BID: 27322, 27323