CVE-2024-3797 in QR Code Bookmark Systeminfo

Summary

by MITRE • 04/15/2024

A vulnerability was found in SourceCodester QR Code Bookmark System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /endpoint/delete-bookmark.php?bookmark=1. The manipulation of the argument bookmark leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-260764.

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

Analysis

by VulDB Data Team • 02/11/2025

This critical vulnerability exists within the SourceCodester QR Code Bookmark System version 1.0, specifically targeting the /endpoint/delete-bookmark.php script. The flaw represents a classic sql injection vulnerability that occurs when the bookmark parameter is improperly handled during database operations. The vulnerability stems from inadequate input validation and sanitization mechanisms that fail to properly escape or parameterize user-supplied data before incorporating it into sql queries. This allows an attacker to manipulate the sql command execution flow by injecting malicious sql code through the bookmark argument.

The technical exploitation of this vulnerability occurs through remote attack vectors, meaning that malicious actors can initiate attacks without requiring physical access to the system or local network presence. The vulnerability is particularly dangerous because it affects the delete-bookmark endpoint, which typically handles user requests to remove bookmark entries from the database. When an attacker supplies malicious input through the bookmark parameter, the application fails to properly validate or sanitize this input, allowing sql injection payloads to be executed against the underlying database. This can result in unauthorized data access, data modification, or even complete database compromise.

The operational impact of this vulnerability is severe and multifaceted, potentially enabling attackers to extract sensitive user data, modify or delete bookmark entries, and gain unauthorized access to the system's database. Given that the exploit has been disclosed and is publicly available, the risk of exploitation is significantly elevated, making this vulnerability particularly dangerous for any organization using this software. The sql injection vulnerability could allow attackers to perform unauthorized database operations including data enumeration, privilege escalation, and potentially system compromise. This aligns with CWE-89 which specifically addresses sql injection vulnerabilities, and follows patterns commonly associated with attack techniques documented in the attack tree framework.

Mitigation strategies should prioritize immediate patching of the affected software to address the input validation and sanitization flaws. Organizations should implement proper parameterized queries or prepared statements to prevent sql injection attacks, and establish robust input validation mechanisms that reject or sanitize malicious input before processing. Network-level protections including web application firewalls and intrusion detection systems can provide additional layers of defense against exploitation attempts. Regular security assessments and code reviews should be conducted to identify similar vulnerabilities in other components of the application. The vulnerability also highlights the importance of maintaining up-to-date software versions and implementing proper security configurations to minimize attack surface exposure.

Responsible

VulDB

Reservation

04/15/2024

Disclosure

04/15/2024

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00822

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!