CVE-2006-4977

Walter Beschmout PhpQuiz <1.2 - Unrestricted File Upload

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-4977. PoCs published by simo64.

AI-analyzed exploit summary This Perl script exploits CVE-2006-4865 in PHPQuiz <= v1.2, demonstrating SQL injection to extract admin credentials and arbitrary file upload for remote code execution. It automates the attack by injecting SQL queries and uploading a PHP shell.

Description

Multiple unrestricted file upload vulnerabilities in (1) back/upload_img.php and (2) admin/upload_img.php in Walter Beschmout PhpQuiz 1.2 and earlier allow remote attackers to upload arbitrary PHP code to the phpquiz/img_quiz folder via the (a) upload, (b) ok_update, (c) image, and (d) path parameters, possibly requiring directory traversal sequences in the path parameter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by simo64 · perlwebappsphp
https://www.exploit-db.com/exploits/2376

This Perl script exploits CVE-2006-4865 in PHPQuiz <= v1.2, demonstrating SQL injection to extract admin credentials and arbitrary file upload for remote code execution. It automates the attack by injecting SQL queries and uploading a PHP shell.

Classification
Working Poc 100%
Attack Type
Rce | Sqli
Complexity
Moderate
Reliability
Reliable
Target: PHPQuiz <= v1.2
No auth needed
Prerequisites: Network access to the target · PHPQuiz installation with default configuration
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (8)

Core 8
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/2376
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/3693
Exploit x_refsource_misc
http://www.morx.org/phpquiz.txt
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/28995
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/1627
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/22015
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/20065
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/446315/100/0/threaded

Scores

EPSS 0.0297
EPSS Percentile 85.5%

Details

Status published
Products (1)
walter_beschmout/phpquiz < 1.2
Published Sep 25, 2006
Tracked Since Feb 18, 2026