Description
Open Source Point of Sale through 3.4.3 contains a privilege escalation vulnerability in Employee::canModifyEmployee() that allows authenticated users with the employees permission to take over higher-privileged accounts. Attackers can submit the employee save form setting a new username and password for a non-administrator employee without grant fields, then log in to access permissions like store configuration.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| opensourcepos | Open Source Point of Sale | ≤ 3.4.3 | — |
References
- https://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Models/Employee.php#L584-L595 technical-description
- https://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Controllers/Employees.php#L117-L129 technical-description
- https://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Models/Employee.php#L167-L178 technical-description
- VulnCheck Advisory: Open Source Point of Sale through 3.4.3 Privilege Escalation via Employee::canModifyEmployee() third-party-advisory