CVE-2023-7142 in Client Details Systeminfo

Summary

by MITRE • 12/29/2023

A vulnerability was found in code-projects Client Details System 1.0. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file /admin/clientview.php. The manipulation of the argument ID leads to sql injection. The exploit has been disclosed to the public and may be used. The identifier VDB-249145 was assigned to this vulnerability.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 10/29/2025

The vulnerability identified as CVE-2023-7142 represents a critical sql injection flaw within the code-projects Client Details System version 1.0. This vulnerability specifically affects the administrative component of the application through the /admin/clientview.php file, making it a significant concern for organizations relying on this client management system. The flaw stems from inadequate input validation and sanitization practices, where the ID parameter passed to the clientview.php script is directly incorporated into sql queries without proper escaping or parameterization. This vulnerability classification aligns with CWE-89 which defines sql injection as a condition where untrusted data is incorporated into sql commands without proper validation or escaping mechanisms. The vulnerability's exploitation potential is heightened by the fact that the exploit has been publicly disclosed, meaning malicious actors can readily leverage this weakness to compromise the system.

The technical implementation of this vulnerability demonstrates a classic sql injection attack vector where an attacker can manipulate the ID argument to inject malicious sql code into the application's database queries. When the application processes the ID parameter through the clientview.php endpoint, it fails to properly sanitize or validate the input before incorporating it into database operations. This creates opportunities for attackers to execute unauthorized sql commands, potentially leading to data extraction, modification, or deletion. The vulnerability operates at the application layer and requires no special privileges to exploit, making it particularly dangerous as it can be leveraged by both authenticated and unauthenticated attackers. The attack surface is limited to the specific administrative functionality but remains highly impactful due to the sensitive nature of client data typically stored in such systems.

The operational impact of CVE-2023-7142 extends beyond simple data theft to encompass complete system compromise and business disruption. Organizations utilizing this client details system face potential exposure of confidential client information including personal identifiers, contact details, and potentially financial data. The vulnerability's exploitation could enable attackers to escalate privileges within the database, extract complete client databases, or even gain access to underlying system resources. This type of vulnerability directly violates security principles outlined in the NIST Cybersecurity Framework, particularly in the areas of protecting against unauthorized access and maintaining data integrity. The disclosure of the exploit through VDB-249145 indicates that this vulnerability is actively being used in the wild, increasing the urgency for remediation. Organizations may face regulatory compliance issues if client data is compromised, particularly under frameworks like GDPR or HIPAA that mandate protection of sensitive personal information.

Mitigation strategies for CVE-2023-7142 must address both immediate remediation and long-term security improvements. The primary solution involves implementing proper input validation and parameterized queries throughout the application code, specifically within the /admin/clientview.php file. Organizations should deploy web application firewalls to detect and block sql injection attempts, while also implementing proper output encoding to prevent reflected sql injection attacks. The application should be updated to use prepared statements or stored procedures instead of dynamic sql construction, aligning with ATT&CK technique T1190 which focuses on exploitation of remote services through injection attacks. Additionally, regular security assessments and code reviews should be conducted to identify similar vulnerabilities in other application components. Access controls should be strengthened to limit administrative access to the clientview.php endpoint, and comprehensive logging should be implemented to detect unauthorized access attempts. Organizations should also consider implementing database activity monitoring solutions to identify anomalous sql query patterns that may indicate exploitation attempts. The vulnerability serves as a reminder of the importance of secure coding practices and the necessity of following established security frameworks such as OWASP Top Ten to prevent similar issues in future application development cycles.

Responsible

VulDB

Reservation

12/28/2023

Disclosure

12/29/2023

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00107

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!