Traccar
Traccar: Authenticated Blind SQL Injection in DELETE /api/permissions
Traccar is an open source GPS tracking system. Prior to 6.14.0, an authenticated, non-readonly user with access to an object usable in a permission pair can submit DELETE /api/permissions with an extra attacker-controlled JSON key. Permission(LinkedHashMap<String, Long>) in src/main/java/org/traccar/model/Permission.java validates only the first two keys, but DatabaseStorage.removePermission() in src/main/java/org/traccar/storage/DatabaseStorage.java concatenates every map key into the SQL WHERE clause as a column identifier. The extra key therefore becomes attacker-controlled SQL and provides a blind boolean or error oracle that can extract arbitrary database values, including administrator email, password hashes, and salts, or conditionally delete permission rows. Unauthenticated requests are rejected. This issue is fixed in 6.14.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.14.0
Fixed in 6.14.0
Mitigation
Upgrade traccar to 6.14.0 or later.
References
- Vendor advisory github.com/traccar/traccar/security/advisories…
- Patch github.com/traccar/traccar/commit/cd0dbaf5df80…
- Release notes github.com/traccar/traccar/releases/tag/v6.14.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.