[SA20936] Vincent LECLERCQ News Cross-Site Scripting and SQL Injection

2006-07-04T00:00:00
ID SECURITYVULNS:DOC:13417
Type securityvulns
Reporter Securityvulns
Modified 2006-07-04T00:00:00

Description


Reverse Engineer Wanted

Secunia offers a Security Specialist position with emphasis on reverse engineering of software and exploit code, auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/


TITLE: Vincent LECLERCQ News Cross-Site Scripting and SQL Injection

SECUNIA ADVISORY ID: SA20936

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

CRITICAL: Moderately critical

IMPACT: Cross Site Scripting, Manipulation of data

WHERE: >From remote

SOFTWARE: Vincent LECLERCQ News 5.x http://secunia.com/product/10768/

DESCRIPTION: DarkFig has reported some vulnerabilities in Vincent LECLERCQ News, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "id" and "texte" parameters in divers.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

2) Input passed to the "id" and "disabled" parameters in divers.php isn't properly sanitised before being 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.

It is also possible to disclose the full path to index.php via a specially crafted POST request.

The vulnerabilities have been reported in version 5.2. Other versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY: DarkFig

ORIGINAL ADVISORY: http://www.acid-root.new.fr/advisories/news52.txt


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.