High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

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


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


ImmuniWeb by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB23078 - https://www.htbridge.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.