In view of COVID-19 precaution measures, we remind you that ImmuniWeb Platform allows to easily configure and safely buy online all available solutions in a few clicks.

Total Tests:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

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
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

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.
User Comments
Add Comment

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.
How it Works Ask a Question