vendor:
phpPowerCards
by:
nuffsaid
7,5
CVSS
HIGH
Remote Code Execution
94
CWE
Product Name: phpPowerCards
Affected Version From: 2.10
Affected Version To: 2.10
Patch Exists: NO
Related CWE:
CPE: a:giombetti:phppowercards:2.10
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: None
phpPowerCards 2.10 (txt.inc.php) Remote Code Execution Vulnerability
phpPowerCards db/txt.inc.php does not initialize the $file variable before using it in the fopen() function on line 10, after $file is opened it then writes several variables which are also uninitialized to $file using the fputs() function. Assuming register_globals = on, we can initialize these variables in a query string and then write anything to a file we desire on the target box that's running phpPowerCards.
Mitigation:
Disable register_globals in php.ini