Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:15371
HistoryDec 11, 2006 - 12:00 a.m.

[SA23319] Messageriescripthp SQL Injection and Cross-Site Scripting

2006-12-1100:00:00
vulners.com
7

TITLE:
Messageriescripthp SQL Injection and Cross-Site Scripting

SECUNIA ADVISORY ID:
SA23319

VERIFY ADVISORY:
http://secunia.com/advisories/23319/

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data

WHERE:
>From remote

SOFTWARE:
Messageriescripthp 2.x
http://secunia.com/product/12877/

DESCRIPTION:
Mr_KaLiMaN has discovered a vulnerability in Messageriescripthp,
which can be exploited by malicious users to conduct SQL injection
attacks and malicious people to conduct cross-site scripting
attacks.

1) Input passed to the "recordID" parameter in
membre/fiche_tousmembres.php is not properly sanitised before being
used in SQL queries. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials.

2) Input passed to the "pseudo" parameter in existepseudo.php,
"email" in existeemail.php and "pageName" and "cssform" in
Contact/contact.php is not properly sanitised before it is returned
to the user. This can be exploited to execute arbitrary HTML and
script code in a user's browser session in context of an affected
site.

Successful exploitation requires that "register_globals" is enabled.

The vulnerabilities have been confirmed in the 2.0 (demo) version.
Other versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
Mr_KaLiMaN


About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.