vendor:
phptest
by:
cOndemned [ Dark-Coders ]
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: phptest
Affected Version From: 2000.6.3
Affected Version To: 2000.6.3
Patch Exists: NO
Related CWE: N/A
CPE: a:phptest:phptest:0.6.3
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2008
phpTest 0.6.3 (picture.php image_id) Remote SQL Injection Vulnerability
There is absolutly no validation of $image_id + We can se amount of columns - 2. An attacker can exploit this vulnerability by sending a malicious HTTP request with a crafted image_id parameter. The malicious request will be in the form of http://[host]/[phpTest]/picture.php?image_id=-1+union+select+1,concat_ws(0x3a3a,username,password)+from+users/*
Mitigation:
Validate user input and use parameterized queries to prevent SQL injection attacks.