Skip to main content

CVE-2022-42753: Reflected cross-site scripting (XSS) in SalonERP

Medium
VulnerabilityCVE-2022-42753cvecve-2022-42753
Published: Thu Nov 03 2022 (11/03/2022, 00:00:00 UTC)
Source: CVE
Vendor/Project: n/a
Product: SalonERP

Description

SalonERP version 3.0.2 allows an external attacker to steal the cookie of arbitrary users. This is possible because the application does not correctly validate the page parameter against XSS attacks.

AI-Powered Analysis

AILast updated: 07/07/2025, 01:57:32 UTC

Technical Analysis

CVE-2022-42753 is a reflected cross-site scripting (XSS) vulnerability identified in SalonERP version 3.0.2. This vulnerability arises because the application fails to properly validate the 'page' parameter, allowing an attacker to inject malicious scripts that are reflected back to the user's browser. When a victim clicks on a crafted URL containing the malicious script, the script executes in the context of the user's browser session. This enables the attacker to steal session cookies, potentially hijacking the user's authenticated session. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.1, indicating a medium severity level. The vector string (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) shows that the attack can be launched remotely over the network without privileges, requires user interaction (clicking a malicious link), and affects confidentiality and integrity with a scope change. There are no known exploits in the wild, and no official patches have been linked, which suggests that organizations using SalonERP 3.0.2 remain vulnerable unless mitigations are applied. The vulnerability could be leveraged by attackers to steal cookies and impersonate users, potentially leading to unauthorized access to sensitive business data managed by SalonERP, a software likely used for salon management and scheduling.

Potential Impact

For European organizations using SalonERP 3.0.2, this vulnerability poses a risk primarily to the confidentiality and integrity of user sessions. Attackers exploiting this XSS flaw could hijack user sessions, gaining unauthorized access to personal data, appointment schedules, and possibly payment information stored within the ERP system. This could lead to data breaches, privacy violations under GDPR, and operational disruptions if attackers manipulate or access sensitive business information. Since the vulnerability requires user interaction, phishing campaigns targeting employees or customers could be an effective attack vector. The scope change in the CVSS vector indicates that the vulnerability could impact resources beyond the initially vulnerable component, potentially affecting other parts of the application or connected systems. Given the nature of SalonERP as a niche business management tool, the impact might be more pronounced for small to medium enterprises in the beauty and wellness sector, which may lack robust cybersecurity defenses. Additionally, compromised session cookies could be used for further lateral movement or privilege escalation within the affected organization’s network.

Mitigation Recommendations

To mitigate CVE-2022-42753, organizations should first verify if they are running SalonERP version 3.0.2 and plan an immediate upgrade once a patched version is released. In the absence of an official patch, implement web application firewall (WAF) rules to detect and block malicious payloads targeting the 'page' parameter. Employ strict input validation and output encoding on all user-controllable parameters to prevent script injection. Educate users and employees about the risks of clicking on suspicious links to reduce successful phishing attempts. Additionally, enforce secure cookie attributes such as HttpOnly and Secure flags to limit cookie theft via client-side scripts. Regularly monitor logs for unusual access patterns or repeated attempts to exploit the vulnerability. If possible, isolate the SalonERP application within a segmented network zone to limit potential lateral movement. Finally, conduct periodic security assessments and penetration tests focusing on web application vulnerabilities to proactively identify and remediate similar issues.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Fluid Attacks
Date Reserved
2022-10-10T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d981fc4522896dcbdcbd8

Added to database: 5/21/2025, 9:08:47 AM

Last enriched: 7/7/2025, 1:57:32 AM

Last updated: 7/27/2025, 5:29:25 AM

Views: 13

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats