AGL app-framework-main through version 17.1.12 is vulnerable to a Zip Slip path traversal attack combined with a TOCTOU race condition in the widget installation flow. The vulnerability allows for files to be written outside of the intended directory, potentially leading to critical impacts on system integrity. This issue arises from the is_valid_filename function in wgtpkg-zip.c not adequately preventing dot notation directory traversal, and the zread extraction function can write files to arbitrary locations on the filesystem. The installation process also occurs before signature verification, allowing for potential persistence of malicious files even if verification fails. AGL,
AGL app-framework-binder (afb-daemon) through v19.90.0 allows any local process to execute privileged supervision commands without authentication via the abstract Unix socket @urn:AGL:afs:supervision:socket. This vulnerability poses significant risks to system integrity and availability, as it enables local processes to execute privileged supervision commands, including Exit, Do, Sclose, Config, Trace, Debug, Token, and slist, without any credential verification. The abstract socket has no DAC protection, as acknowledged in the official CAUTION comment in src/afs-supervision.h. AGL deployments require immediate attention to verify exposure and implement mitigations.
AGL app-framework-binder (afb-daemon) through v19.90.0 contains a privilege escalation vulnerability in the supervision Do command. The on_supervision_call function in src/afb-supervision.c explicitly nullifies the request credentials by calling afb_context_change_cred(&xreq->context, NULL) before dispatching an attacker-controlled API call via xapi->itf->call(xapi->closure, xreq). The NULL propagation chain through afb-context.c:110 (context->credentials = afb_cred_addref(NULL)) and afb-cred.c:163 (returns NULL when cred is NULL) confirms that credentials are zeroed before the target API executes. The attacker controls both api and verb parameters via JSON input, allowing execution of any registered API with a NULL credential context. APIs that rely on context->credentials for authorization decisions may fail open when receiving NULL credentials, enabling privilege escalation.