PHPBugTracker Multiple Input Validation Vulnerabilities
BID:10153
Info
PHPBugTracker Multiple Input Validation Vulnerabilities
| Bugtraq ID: | 10153 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 15 2004 12:00AM |
| Updated: | Apr 15 2004 12:00AM |
| Credit: | Disclosure of this issue is credited to JeiAr <[email protected]>. |
| Vulnerable: |
phpBugTracker phpBugTracker 0.9.1 phpBugTracker phpBugTracker 0.9 .0rc1 phpBugTracker phpBugTracker 0.9 .0 |
| Not Vulnerable: | |
Discussion
PHPBugTracker Multiple Input Validation Vulnerabilities
Reportedly phpBugTracker contains multiple input validation vulnerabilities; it is prone to multiple SQL injection, cross-site scripting and HTML injection issues. These issues are all due to a failure of the application to properly sanitize user supplied input.
The SQL injection issues may allow a remote attacker to manipulate query logic, potentially leading to unauthorized access to sensitive information such as the administrator password hash or corruption of database data. SQL injection attacks may also potentially be used to exploit latent vulnerabilities in the underlying database implementation.
The cross-site scripting and HTML injection issues may allow an attacker to execute arbitrary script code in the browser of an unsuspecting user. It may be possible to steal the unsuspecting user's cookie-based authentication credentials, as well as other sensitive information. Other attacks may also be possible.
Reportedly phpBugTracker contains multiple input validation vulnerabilities; it is prone to multiple SQL injection, cross-site scripting and HTML injection issues. These issues are all due to a failure of the application to properly sanitize user supplied input.
The SQL injection issues may allow a remote attacker to manipulate query logic, potentially leading to unauthorized access to sensitive information such as the administrator password hash or corruption of database data. SQL injection attacks may also potentially be used to exploit latent vulnerabilities in the underlying database implementation.
The cross-site scripting and HTML injection issues may allow an attacker to execute arbitrary script code in the browser of an unsuspecting user. It may be possible to steal the unsuspecting user's cookie-based authentication credentials, as well as other sensitive information. Other attacks may also be possible.
Exploit / POC
PHPBugTracker Multiple Input Validation Vulnerabilities
No exploit is required to leverage these issues. The following proof of concept has been provided:
To leverage the SQL injection issues:
http://www.example.com/query.php?page=2&order=severity.sort_order&sort=[SQL]
http://www.example.com/query.php?page=2&order=[SQL]
http://www.example.com/query.php?page=[SQL]
http://www.example.com/query.php?op=delquery&queryid=[SQL]&form=simple
http://www.example.com/query.php?projects=[SQL]&op=doquery
http://www.example.com/bug.php?op=vote&bugid=[SQL]
http://www.example.com/bug.php?op=viewvotes&bugid=[SQL]
http://www.example.com/user.php?op=delvote&bugid=[SQL]
To leverage the cross-site scripting issues:
http://www.example.com/bug.php?op=show&bugid=[XSS]
http://www.example.com/query.php?page=2&order=severity.sort_order&sort=[XSS]
http://www.example.com/query.php?page=2&order=[XSS]
http://www.example.com/query.php?page=[XSS]
http://www.example.com/query.php?op=delquery&queryid=[XSS]&form=simple
http://www.example.com/query.php?projects=[XSS]&op=doquery
http://www.example.com/bug.php?op=vote&bugid=[XSS]
http://www.example.com/bug.php?op=viewvotes&bugid=[XSS]
http://www.example.com/bug.php?op=add&project=[XSS]
http://www.example.com/user.php?op=delvote&bugid=[XSS]
No exploit is required to leverage these issues. The following proof of concept has been provided:
To leverage the SQL injection issues:
http://www.example.com/query.php?page=2&order=severity.sort_order&sort=[SQL]
http://www.example.com/query.php?page=2&order=[SQL]
http://www.example.com/query.php?page=[SQL]
http://www.example.com/query.php?op=delquery&queryid=[SQL]&form=simple
http://www.example.com/query.php?projects=[SQL]&op=doquery
http://www.example.com/bug.php?op=vote&bugid=[SQL]
http://www.example.com/bug.php?op=viewvotes&bugid=[SQL]
http://www.example.com/user.php?op=delvote&bugid=[SQL]
To leverage the cross-site scripting issues:
http://www.example.com/bug.php?op=show&bugid=[XSS]
http://www.example.com/query.php?page=2&order=severity.sort_order&sort=[XSS]
http://www.example.com/query.php?page=2&order=[XSS]
http://www.example.com/query.php?page=[XSS]
http://www.example.com/query.php?op=delquery&queryid=[XSS]&form=simple
http://www.example.com/query.php?projects=[XSS]&op=doquery
http://www.example.com/bug.php?op=vote&bugid=[XSS]
http://www.example.com/bug.php?op=viewvotes&bugid=[XSS]
http://www.example.com/bug.php?op=add&project=[XSS]
http://www.example.com/user.php?op=delvote&bugid=[XSS]
Solution / Fix
PHPBugTracker Multiple Input Validation Vulnerabilities
Solution:
A patch has been reported to exist. This patch can be obtained from the following location. It should be noted that the referenced patch has not been confirmed by the vendor nor validated by Symantec:
http://www.phpsecure.info/v2/.php?zone=pDl&id=169
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:
A patch has been reported to exist. This patch can be obtained from the following location. It should be noted that the referenced patch has not been confirmed by the vendor nor validated by Symantec:
http://www.phpsecure.info/v2/.php?zone=pDl&id=169
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
PHPBugTracker Multiple Input Validation Vulnerabilities
References:
References:
- phpBugTracker Sourceforge Page (phpBugTracker)
- phpBugTracker 0.9.1 && Earlier Vulnerabilities (JeiAr
)