Multiple eoCMS security vulnerabilities and repair

Source: Internet
Author: User

EoCMS is a free content management system. Multiple security vulnerabilities exist in eoCMS 0.9.04, including cross-site scripting, local file inclusion, path information leakage, and SQL injection.

[+] Info:
~~~~~~~~~
EoCMS 0.9.04 Multiple Vulnerabilities
Product: eoCMS
Vendor: eocms.com (http://eocms.com)
Vulnerable Version: 0.9.04
Vendor Notification: 21 October 2010
Vulnerability Type: XSS (Cross Site Scripting)
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: Medium
Credit: High-Tech Bridge SA-Ethical Hacking & Penetration Testing (http://www.htbridge.ch /)

[+] Poc:
~~~~~~~~~
XSS:
User can execute arbitrary JavaScript code within the vulnerable application.
BBcode isnt properly sanitized. This can be used to post arbitrary script code.
Successful exploitation of this vulnerability cocould result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.
An attacker can use browser to exploit this vulnerability.
BBcode Example:


SQLi:
The vulnerability exists due to failure in the "index. php" script to properly sanitize user-supplied input in eocms value from cookies.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit varous vulnerabilities in the underlying SQL database.
The following PoC is available:
Getindex. php HTTP/1.0
Cookie: eocms = SQL _CODE_HERE

Path disclosure:
Http: // [host]/search/forum. php
Http: // [host]/Plugins/forum_statistics/Layouts/Stats. php

Local File upload sion:
Http: // [host]/index. php? Lang = file
Http: // [host]/index. php? Theme = .. /.. /.. /.. /.. /.. /.. /.. /.. /.. /.. /.. /.. /.. /.. /etc/passwd % 00

[+] Reference:
~~~~~~~~~
Html> http://www.htbridge.ch/advisory/bbcode_xss_in_eocms.html
Http://www.htbridge.ch/advisory/ SQL _injection_in_eocms.html
Http://www.htbridge.ch/advisory/path_disclosure_in_eocms.html
Http://www.htbridge.ch/advisory/lfi_in_eocms.html
Http://www.htbridge.ch/advisory/lfi_in_eocms_1.html

Solution: too many today. Fix it later

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.