CVE-2017-2124 in OneThirdinfo

Summary

by MITRE

Cross-site scripting vulnerability in OneThird CMS v1.73 Heaven's Door and earlier allows remote attackers to inject arbitrary web script or HTML via contact.php.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 12/22/2020

The vulnerability identified as CVE-2017-2124 represents a critical cross-site scripting flaw within OneThird CMS version 1.73 Heaven's Door and earlier releases. This security weakness resides in the contact.php script which fails to properly sanitize user input parameters before incorporating them into web responses. The flaw enables remote attackers to execute malicious scripts in the context of affected websites, potentially compromising user sessions and data integrity.

This vulnerability falls under the CWE-79 category of Cross-Site Scripting, specifically representing a stored XSS variant where malicious payloads can persist in the application's data storage and execute whenever legitimate users access the affected pages. The attack vector exploits the lack of input validation and output encoding mechanisms in the contact form functionality, allowing attackers to inject HTML and JavaScript code through form fields that are subsequently rendered without proper sanitization.

The operational impact of this vulnerability extends beyond simple script execution as it can facilitate session hijacking, credential theft, and redirection to malicious websites. An attacker could craft payloads that steal cookies, redirect users to phishing pages, or even inject malicious code that persists across multiple user sessions. The remote nature of the attack means that exploitation does not require physical access to the target system, making it particularly dangerous for public-facing web applications.

The attack surface is significantly expanded due to the contact form being a common entry point for user interaction on websites. When users submit information through the contact form, their input is processed and potentially displayed without adequate security measures. This vulnerability demonstrates poor secure coding practices and highlights the critical importance of implementing proper input validation and output encoding. The flaw aligns with ATT&CK technique T1566.001 which describes the use of spearphishing attachments to gain initial access, as malicious scripts could be embedded in contact form submissions to compromise user systems.

Mitigation strategies should include immediate patching of the OneThird CMS to version 1.74 or later where this vulnerability has been addressed. Organizations should implement comprehensive input validation and output encoding mechanisms for all user-supplied data, particularly in contact forms and other interactive elements. The implementation of Content Security Policy headers can provide additional protection against XSS attacks by restricting script execution. Regular security audits and code reviews should be conducted to identify similar vulnerabilities in other application components, with particular attention to areas where user input is processed and rendered without proper sanitization.

Reservation

12/01/2016

Disclosure

04/28/2017

Moderation

accepted

CPE

ready

EPSS

0.00271

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!