CVE-2008-6918

ThePortal2 2.2 - Unauthenticated Arbitrary File Upload and Remote Code Execution via Galeria Admin Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-6918. PoCs published by siurek22.

AI-analyzed exploit summary This exploit demonstrates an authentication bypass and arbitrary file upload vulnerability in ThePortal2 v2.2. It uses cURL to upload a malicious PHP file (own.php) to the target server, allowing remote code execution.

Description

Unrestricted file upload vulnerability in admin/galeria.php in ThePortal2 2.2 allows remote attackers to execute arbitrary PHP code by uploading a file with an executable extension, then accessing it via a direct request to the file in galeria/.

Exploits (1)

exploitdb WORKING POC VERIFIED
by siurek22 · textwebappsphp
https://www.exploit-db.com/exploits/7620

This exploit demonstrates an authentication bypass and arbitrary file upload vulnerability in ThePortal2 v2.2. It uses cURL to upload a malicious PHP file (own.php) to the target server, allowing remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: ThePortal2 v2.2
No auth needed
Prerequisites: cURL · access to upload.php and own.php on an attacker-controlled server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/33057
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/51143
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/7620
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/33321
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/47649

Scores

EPSS 0.0288
EPSS Percentile 86.5%

Details

CWE
CWE-264
Status published
Products (1)
theportal2.pl/theportal2 2.2
Published Aug 10, 2009
Tracked Since Feb 18, 2026