Executive brief
FacturaScripts, an open-source accounting and invoicing platform, contains a flaw that allows users to change their account usernames, a field intended to be permanent. By bypassing interface restrictions, a user could rename their own account or even the administrator account. This can be used to sabotage audit logs, evade detection for malicious actions, or impersonate other users within the system.
Technical details
A vulnerability exists in the EditUser controller of FacturaScripts due to improper validation of the 'nick' parameter during POST requests. While the web interface treats the username as an immutable field, the backend processes the form-data parameter without verifying if the value has been altered from its original state. An authenticated attacker can use a proxy to intercept the update request and modify the 'nick' value to rename any account they have access to edit, including the administrator. This leads to a breakdown in accountability and potential corruption of audit trails where the username is used as a unique identifier.
Affected products
- NeoRazorX FacturaScripts <= 2025.92
Timeline
- 2026-04-27: advisory: GitHub Security Advisory published by vendor
- 2026-05-05: disclosed: CVE published to NVD