CVE-2007-2142

AjPortal2Php - Remote File Inclusion via PagePrefix Parameter

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-2142. PoCs published by Alkomandoz Hacker.

AI-analyzed exploit summary This exploit demonstrates a file inclusion vulnerability in AjPortal2Php, allowing remote attackers to include arbitrary files via the PagePrefix parameter. The vulnerability arises from improper input validation in the include_once function.

Description

Multiple PHP remote file inclusion vulnerabilities in AjPortal2Php allow remote attackers to execute arbitrary PHP code via a URL in the PagePrefix parameter to (1) begin.inc.php, (2) connection.inc.php, (3) events.inc.php, (4) footer.inc.php, (5) header.inc.php, (6) menuleft.inc.php, or (7) pages.inc.php in includes/.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Alkomandoz Hacker · textwebappsphp
https://www.exploit-db.com/exploits/3752

This exploit demonstrates a file inclusion vulnerability in AjPortal2Php, allowing remote attackers to include arbitrary files via the PagePrefix parameter. The vulnerability arises from improper input validation in the include_once function.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: AjPortal2Php (version not specified)
No auth needed
Prerequisites: Network access to the target application · Knowledge of the target application's path structure
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (11)

Core 11
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37566
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/33703
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/3752
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37569
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37568
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37571
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37565
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37567
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/1428
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/23525
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37570

Scores

EPSS 0.0965
EPSS Percentile 94.9%

Details

Status published
Products (1)
ajportal2php/ajportal2php
Published Apr 19, 2007
Tracked Since Feb 18, 2026