CVE-2025-12306

7.3

code-projects · Nero Social Networking Site

A SQL injection vulnerability in the acceptoffres.php file of Nero Social Networking Site 1.0 allows unauthenticated remote attackers to execute arbitrary database queries via the id parameter.

Executive summary

An unauthenticated SQL injection vulnerability in Nero Social Networking Site 1.0 poses a critical risk of full database compromise and unauthorized data access.

Vulnerability

The application fails to properly sanitize the id parameter in the acceptoffres.php script before incorporating it into database queries. This vulnerability allows an unauthenticated attacker to inject malicious SQL commands, enabling them to manipulate the database or extract sensitive information.

Business impact

Successful exploitation of this flaw allows attackers to bypass authentication and access sensitive user data, potentially leading to a complete breach of the backend database. Given the CVSS score of 7.3, this represents a significant risk to data confidentiality and integrity, which may lead to severe reputational damage and non-compliance with data protection regulations.

Remediation

Immediate Action: As no official vendor patch is available, implement prepared statements and parameterized queries within the acceptoffres.php source code to decouple user input from the SQL execution logic.

Proactive Monitoring: Review web server access logs for anomalous GET requests targeting acceptoffres.php containing SQL syntax characters, such as single quotes, semicolons, or sleep commands.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection patterns, including time-based and error-based payloads, targeting the id query parameter.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists as detailed in the technical report by the vulnerability researcher.

Analyst recommendation

Due to the lack of an official patch and the public availability of functional exploit payloads, administrators should prioritize restricting access to the affected script or the entire application. Immediate code-level remediation using parameterized queries is required to eliminate the underlying injection vector.

More code-projects CVEs

Sources

Originally found and disclosed by ArcueidBrunestud (VulDB User), per the CVE Program record.