CVE-2006-4720

mcgallery_pro 2006 - Remote File Inclusion via random2.php path_to_folder Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-4720. PoCs published by Solpot.

AI-analyzed exploit summary This exploit demonstrates a remote file inclusion vulnerability in Mcgallerypro due to improper verification of the 'path_to_folder' parameter. An attacker can include arbitrary PHP files from local or external resources, leading to remote code execution.

Description

PHP remote file inclusion vulnerability in random2.php in mcGalleryPRO 2006 allows remote attackers to execute arbitrary PHP code via a URL in the path_to_folder parameter.

Exploits (1)

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

This exploit demonstrates a remote file inclusion vulnerability in Mcgallerypro due to improper verification of the 'path_to_folder' parameter. An attacker can include arbitrary PHP files from local or external resources, leading to remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Mcgallerypro (version not specified)
No auth needed
Prerequisites: Target application must be accessible · PHP configuration must allow remote file inclusion
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/19936
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/2342
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/445783/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/28848
Exploit, URL Repurposed x_refsource_misc
http://www.nyubicrew.org/adv/solpot-adv-06.txt
Exploit, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/21850
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/1556
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/3543

Scores

EPSS 0.0353
EPSS Percentile 87.7%

Details

Status published
Products (2)
mcgallery/mcgallery_pro 2.2
mcgallery/mcgallery_pro 2006
Published Sep 12, 2006
Tracked Since Feb 18, 2026