Description
PHP-Charts v1.0 contains a PHP code execution vulnerability in wizard/url.php, where user-supplied GET parameter names are passed directly to eval() without sanitization. A remote attacker can exploit this flaw by crafting a request that injects arbitrary PHP code, resulting in command execution under the web server's context. The vulnerability allows unauthenticated attackers to execute system-level commands via base64-encoded payloads embedded in parameter names, leading to full compromise of the host system.
Problem types
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Product status
1.0
Credits
AkaStep
References
raw.githubusercontent.com/.../unix/webapp/php_charts_exec.rb
www.exploit-db.com/exploits/24201
www.exploit-db.com/exploits/24273
raw.githubusercontent.com/.../unix/webapp/php_charts_exec.rb
www.exploit-db.com/exploits/24201
www.exploit-db.com/exploits/24273
web.archive.org/web/20130120234844/http://php-charts.com/
www.vulncheck.com/advisories/php-charts-php-code-execution