MGB Multiple Cross Site Scripting and SQL Injection Vulnerabilities

BID:54348

Info

MGB Multiple Cross Site Scripting and SQL Injection Vulnerabilities

Bugtraq ID: 54348
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jul 09 2012 12:00AM
Updated: Jul 16 2012 10:00PM
Credit: Stefan Schurtz
Vulnerable:
Not Vulnerable:

Discussion

MGB Multiple Cross Site Scripting and SQL Injection Vulnerabilities

MGB is prone to multiple cross-site scripting vulnerabilities and an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data.

Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

MGB 0.6.9.1 is vulnerable; other versions may also be affected.

Exploit / POC

MGB Multiple Cross Site Scripting and SQL Injection Vulnerabilities

An attacker can exploit these issues through a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.

The following example URIs are available:

http://www.example.com/mgb/admin/admin.php?action=delete&id=[SQLi]&p=1

http://www.example.com/mgb/index.php?p=1â??"</script><script>alert(document.cookie)</script> [XSS]

http://www.example.com/mgb/newentry.php [XSS]

References

MGB Multiple Cross Site Scripting and SQL Injection 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