cryptographp v1.4: file contents disclosure bug

2009.03.16
Credit: Jan G.B.
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

Cryptographp - a `free` captcha script I contacted the author on 2009-02-11 via e-mail but I did not get a response. I feel the need users of that script should be aware of such a bug. The main include of that script has the following PHP code: ##### if (is_file($_GET['cfg']) and dirname($_GET['cfg'])=='.' ) $_SESSION['configfile']=$_GET['cfg']; else $_SESSION['configfile']="cryptographp.cfg.php"; include($_SESSION['configfile']): ##### This enables an attacker to output any file in the current directory, where cryptographp has been installed. For example you can read .ht* files like .htpasswd, .htaccess Vulnerable: Latest Version 1.4 (did not check below)

References:

http://seclists.org/fulldisclosure/2009/Mar/0238.html


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