Total Tests:

Multiple vulnerabilities in ocPortal

Advisory ID:HTB23078
Product:ocPortal
Vendor:ocProducts Ltd
Vulnerable Versions:7.1.5 and probably prior
Tested Version:7.1.5
Advisory Publication:February 29, 2012 [without technical details]
Vendor Notification:February 29, 2012
Vendor Fix:March 21, 2012
Public Disclosure:March 28, 2012
Latest Update:March 22, 2012
Vulnerability Type:Cross-Site Scripting [CWE-79]
Path Traversal [CWE-22]
CVE References:CVE-2012-1470
CVE-2012-1471
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
5.0 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in ocPortal, which can be exploited to perform Cross-Site Scripting (XSS) and Arbitrary File Disclosure attacks.
1) Multiple Cross-Site Scripting (XSS) in ocPortal: CVE-2012-1470
1.1 Input passed via the "path" and "line" GET parameters to /code_editor.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.
The following PoC (Proof of Concept) demonstrates the vulnerabilities:
http://[host]/code_editor.php?path=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/code_editor.php?path&line=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

2) Arbitrary File Disclosure in ocPortal: CVE-2012-1471
2.1 Input passed via the "file" GET parameter to /site/catalogue_file.php is not properly sanitised before being used in fopen() call.
This can be exploited by malicious people to disclose arbitrary file content and other potentially sensitive information.
The following PoC (Proof of Concept) demonstrates the vulnerability:
http://[host]/site/catalogue_file.php?original_filename=1.txt&file=%252e%252e%252f%252e%252e%252finfo.php

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to 7.1.6

More information:
http://ocportal.com/site/news/view/new-releases/ocportal-7-1-6-released.htm
http://ocportal.com/site/news/view/ocportal-security-update.htm


References:
[1] High-Tech Bridge Advisory HTB23078 - https://www.immuniweb.com/advisory/HTB23078 - Multiple vulnerabilities in ocPortal.
[2] ocPortal - http://ocportal.com - ocPortal is the versatile (and free) Content Management System (“CMS”) for next generation websites.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a technical question?

Our security experts will answer within
one business day. No obligations.

Have a sales question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
Your data will stay private and confidential