SQL Injection in LightNEasy

From: advisory@htbridge.ch
To: bugtraq@securityfocus.com
Subject: SQL Injection in LightNEasy

Vulnerability ID: HTB22754
Reference: http://www.htbridge.ch/advisory/sql_injection_in_lightneasy_1.html
Product: LightNEasy
Vendor: Fernando Baptista ( http://www.lightneasy.org/ ) 
Vulnerable Version: 3.2.2
Vendor Notification: 15 December 2010 
Vulnerability Type: SQL Injection
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/LightNEasy.php" script to properly sanitize user-supplied input in "handle" variable from cookies.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

The following PoC is available:

GET / HTTP/1.1
Cookie: userhandle=123"SQL_CODE_HERE

Copyright © 1995-2018 LinuxRocket.net. All rights reserved.