CVE-2024-7644 in Leads Manager Toolinfo

Summary

by MITRE • 08/12/2024

A vulnerability was found in SourceCodester Leads Manager Tool 1.0. It has been classified as problematic. This affects an unknown part of the file /endpoint/add-leads.php of the component Add Leads Handler. The manipulation of the argument leads_name/phone_number leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 03/15/2025

The vulnerability identified as CVE-2024-7644 resides within the SourceCodester Leads Manager Tool version 1.0, representing a critical cross-site scripting flaw that undermines the application's security posture. This issue specifically targets the Add Leads Handler component, which processes user input through the /endpoint/add-leads.php file, making it a prime target for malicious actors seeking to exploit client-side vulnerabilities. The vulnerability's classification as problematic indicates its potential to cause significant harm to users and the organization maintaining the system.

The technical flaw manifests through improper input validation and sanitization within the leads_name and phone_number parameters of the add-leads.php endpoint. When users submit data through the leads management interface, the application fails to adequately sanitize these input fields before processing or storing the information. This omission creates an opening for attackers to inject malicious script code that executes in the context of other users' browsers. The vulnerability operates under CWE-79 which specifically addresses cross-site scripting flaws, where the application fails to validate or escape user-provided data before incorporating it into dynamic web content.

The operational impact of this vulnerability extends beyond simple data integrity concerns, as it enables attackers to execute arbitrary code within victim browsers, potentially leading to session hijacking, credential theft, or redirection to malicious sites. Since the exploit can be initiated remotely without requiring local system access, it presents an attractive target for automated attacks and mass exploitation campaigns. The public disclosure of the exploit increases the likelihood of widespread compromise across all installations of the vulnerable software version, particularly in environments where the tool is used for lead management and customer data collection.

Organizations utilizing the SourceCodester Leads Manager Tool must implement immediate mitigations including input validation, output encoding, and the implementation of Content Security Policies to prevent script execution. The application should sanitize all user inputs through proper escaping mechanisms before processing, and developers should employ parameterized queries or similar techniques to prevent injection attacks. Additionally, implementing proper access controls and monitoring for suspicious input patterns can help detect potential exploitation attempts. The vulnerability demonstrates the critical importance of input validation in web applications and aligns with ATT&CK technique T1566 which covers social engineering attacks through malicious payloads. Regular security assessments and vulnerability scanning should be conducted to identify similar flaws in other components of the application stack, ensuring comprehensive protection against evolving threats in the cybersecurity landscape.

Responsible

VulDB

Disclosure

08/12/2024

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00690

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!