PT-2023-24275 · Kaios · Kaios
Tom Barrasso
·
Published
2023-05-22
·
Updated
2023-05-30
·
CVE-2023-33294
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
KaiOS versions 3.0 through 3.0
Description
An issue was discovered in the /system/bin/tctweb server binary, which exposes a local web server that responds to GET and POST requests on port 2929. The server accepts arbitrary Bash commands and executes them as root. Because it is not permission or context restricted and returns proper CORS headers, it's accessible to all websites via the browser. At a bare minimum, this allows an attacker to retrieve a list of the user's installed apps, notifications, and downloads. It also allows an attacker to delete local files and modify system properties including the boolean
persist.moz.killswitch property, which would render the device inoperable. This issue is partially mitigated by SELinux, which prevents reads, writes, or modifications to files or permissions within protected partitions.Recommendations
For KaiOS version 3.0, update to version 3.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the
/system/bin/tctweb server binary to minimize the risk of exploitation. Additionally, be cautious when accessing websites via the browser to avoid potential attacks.Exploit
Fix
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Kaios