Description
OpenLiteSpeed before 1.9.3 contains a local privilege escalation vulnerability in admin/misc/lsup.sh that runs unverified update packages from a nobody-writable directory as root. Attackers controlling the nobody web process can replace the package in /usr/local/lsws/autoupdate/ before extraction, so its install.sh runs as root on the next update.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| litespeedtech | openlitespeed | < 1.9.3 | 1.9.3 |
References
- OpenLiteSpeed Version 1.9.x Release Log vendor-advisory
- https://github.com/litespeedtech/openlitespeed/commit/468523ce84388cea9ba6633c26517bc05b3e2bc1 patch
- https://github.com/litespeedtech/openlitespeed/blob/v1.9.2/dist/admin/misc/lsup.sh#L538 technical-description
- VulnCheck Advisory: OpenLiteSpeed before 1.9.3 Local Privilege Escalation via lsup.sh Auto-Update third-party-advisory