E107inc e107
e107: SQL injection in alt_auth plugin (otherdb / e107db backends) via login username
e107 is a content management system (CMS). Prior to 2.3.7, the bundled alt_auth plugin's otherdb and e107db authentication backends interpolate the submitted login username directly into SQL in e107_plugins/alt_auth/otherdb_auth.php and e107_plugins/alt_auth/e107db_auth.php. The login() methods execute those strings with PDO::query() before effective sanitization, so an unauthenticated user can inject SQL when alt_auth is installed and either backend is configured with a live external database connection. The injection can expose or modify data available to the configured database account, and query failures can additionally disclose the generated query through the debug-message path. This issue is fixed in version 2.3.7.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.3.7
Fixed in 2.3.7
Mitigation
Upgrade e107 to 2.3.7 or later.
References
- Vendor advisory github.com/e107inc/e107/security/advisories/GH…
- Patch github.com/e107inc/e107/commit/120bd4bdbe18c86…
- Release notes github.com/e107inc/e107/releases/tag/v2.3.7
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.