Executive brief
Emlog is an open-source website building system used for creating and managing websites. Prior to version 2.6.16, a blind SQL injection vulnerability in the user authentication mechanism allows attackers who can forge an AUTH_KEY HMAC signature to extract sensitive database information through time-based inference, potentially leading to unauthorized data access.
Technical details
The vulnerability is a blind SQL injection (CWE-89) in the User_Model::getUserDataByLogin() method, where the $account parameter is directly interpolated into SQL queries without sanitization. The vulnerable code path is reached during auth cookie validation, where an attacker must forge a valid HMAC signature using the AUTH_KEY to inject malicious SQL into the $username variable. An authenticated attacker (or one with knowledge of AUTH_KEY) can perform time-based blind SQL injection to extract database contents. The vulnerability has been patched in version 2.6.16 by adding database input escaping as shown in commit 92b6eea.
Affected products
- Emlog CMS Pro prior to 2.6.16
Timeline
- 2026-09-04: disclosed
- 2026-06-04: patched: version 2.6.16 released with fix