Total Tests:

Multiple vulnerabilities in ocPortal

Advisory ID:HTB23078
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
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:

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:

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

Upgrade to 7.1.6

More information:

[1] High-Tech Bridge Advisory HTB23078 - - Multiple vulnerabilities in ocPortal.
[2] ocPortal - - ocPortal is the versatile (and free) Content Management System (“CMS”) for next generation websites.
[3] Common Vulnerabilities and Exposures (CVE) - - 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) - - 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
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?
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
Your data will stay private and confidential