Emlog SQL Injection Vulnerability in Tag Management Function

Vulnerability

A SQL injection vulnerability has been identified in Emlog versions prior to 2.6.2. The issue resides in the 'include/model/tag_model.php' file, specifically within the 'updateTagName()' function. This function improperly incorporates user input into SQL query strings without utilizing parameterized queries or adequate escaping, leaving it open to SQL injection attacks. The vulnerability allows authenticated administrators to execute arbitrary SQL commands, potentially leading to unauthorized data access or modification.

Impact

Exploitation of this vulnerability allows authenticated administrators to execute arbitrary SQL commands, with full read/write access to the database. This could lead to privilege escalation and unauthorized data exfiltration.

Reproduction

To reproduce this vulnerability, authenticate as an admin and navigate to the tag management page. Edit a tag and inject a SQL payload into the tag name field, such as a payload that manipulates the SQL query logic, like 'test' OR 1=1-- . Save the changes and observe the results of the executed SQL, which will reflect the injection's success.

Remediation

No patches are currently available for this vulnerability.

Added: Apr 3, 2026, 11:23 PM
Updated: Apr 3, 2026, 11:23 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.0
exploitability
6.3
remediation
0.0
relevance
5.2
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.