Acode-Foundation Acode
Acode: Exported TerminalService (bundled terminal plugin) lets any installed app execute arbitrary shell commands as Acode
Acode is a powerful text and code editor for Android. From 1.11.6 until 1.12.7, com.foxdebug.acode.rk.exec.terminal.TerminalService is declared as an exported service in src/plugins/terminal/plugin.xml without a binding permission, and src/plugins/terminal/src/android/TerminalService.java does not verify the caller. Any installed Android application can bind the service and send MSG_EXEC with an attacker-controlled cmd value, which the terminal implementation passes to ProcessBuilder with sh -c inside Acode's UID. This allows a zero-permission local application to execute commands with access to Acode private data, remote credentials, Storage Access Framework grants, and runtime permissions without additional interaction at attack time. This issue is fixed in version 1.12.7.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.11.6, < 1.12.7
Fixed in 1.12.7
Mitigation
Upgrade Acode to 1.12.7 or later.
References
- Vendor advisory github.com/Acode-Foundation/Acode/security/adv…
- Patch github.com/Acode-Foundation/Acode/pull/2442
- Patch github.com/Acode-Foundation/Acode/commit/0a523…
1 more
- Release notes github.com/Acode-Foundation/Acode/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.