Secunia Security Advisory - Mr_KaLiMaN has discovered several vulnerabilities in AnnonceScriptHP, which can be exploited by malicious people to disclose sensitive data, conduct SQL injection and conduct cross-site scripting attacks.
b8df3a4f0ef3b2da8393fb3fabcf65c832565cc3d69ffb7c0096a2ab1d58571b
----------------------------------------------------------------------
Secunia is proud to announce the availability of the Secunia Software
Inspector.
The Secunia Software Inspector is a free service that detects insecure
versions of software that you may have installed in your system. When
insecure versions are detected, the Secunia Software Inspector also
provides thorough guidelines for updating the software to the latest
secure version from the vendor.
Try it out online:
http://secunia.com/software_inspector/
----------------------------------------------------------------------
TITLE:
AnnonceScriptHP Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA23318
VERIFY ADVISORY:
http://secunia.com/advisories/23318/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting, Manipulation of data, Exposure of sensitive
information
WHERE:
>From remote
SOFTWARE:
AnnonceScriptHP 2.x
http://secunia.com/product/12879/
DESCRIPTION:
Mr_KaLiMaN has discovered several vulnerabilities in AnnonceScriptHP,
which can be exploited by malicious people to disclose sensitive data,
conduct SQL injection and conduct cross-site scripting attacks.
1) A vulnerability due to insufficient checks in
admin/admin_membre/fiche_membre.php lets unauthenticated people view
any user's password and other user details by passing the "idmembre"
parameter.
2) Input passed to the "no" parameter in voirannonce.php, "idmembre"
in admin/admin_membre/fiche_membre.php, "idannonce" in
admin/admin_annonce/okvalannonce.php and
admin/admin_annonce/changeannonce.php, and "id" in email.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 of email.php requires valid user
credentials.
3) Input passed to the "email" parameter in erreurinscription.php,
Templates/admin.dwt.php, Templates/commun.dwt.php,
Templates/membre.dwt.php, and admin/admin_config/Aide.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 are confirmed in version 2.0 (demo). Other
versions may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
Restrict access to admin/admin_membre/fiche_membre.php (e.g. with
".htaccess").
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.
----------------------------------------------------------------------