CVE-2019-7726: SQL Injection in NukeViet
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.72035%
CWE
Published
6/22/2021
Updated
2/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
nukeviet/nukeviet | composer | < 4.3.04 | 4.3.04 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from constructing SQL queries using untrusted HTTP header inputs (client_info['referer'], client_info['client_os']['name'], etc.) without escaping or prepared statements. The commit diff shows the fix added $db->quote() wrappers around these values, confirming they were previously vulnerable to SQL injection. The affected code handles banner click tracking where attacker-controlled headers are directly embedded in SQL syntax.