CVE-2026-130160 RepoManager: Authenticated OS command injection (RCE) via GPG key deletion
설명
RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, an authenticated user can supply a user-controlled, array-valued GPG key identifier to the key deletion action. Validate::string() filters HTML characters but not shell metacharacters. The user-controlled identifier reaches the delete action without shell-safe encoding. controllers/Gpg.php contains the vulnerable deletion path. Process::execute() passes the command string through proc_open() and /bin/sh -c, allowing the attacker to execute arbitrary OS commands as the web/PHP process. This can expose secrets or poison packages. Authentication is required, but the advisory makes an administrator-only restriction conditional on the intended access policy and does not establish an administrator role as a prerequisite. Fixed in 5.13.3.
영향 받는 제품 제품 1개
-
해결 버전 있음
lbr38
repomanager
영향 받는 버전
- 5.13.3 미만
해결 버전
- 5.13.3 이상
참고 자료 4건
- github.com https://github.com/lbr38/repomanager/commit/d380579c84accf1786934deee245650bbc68a562 (새 창)
- github.com https://github.com/lbr38/repomanager/pull/403 (새 창)
- github.com https://github.com/lbr38/repomanager/releases/tag/5.13.3 (새 창)
- github.com https://github.com/lbr38/repomanager/security/advisories/GHSA-c78w-g4rj-q6q7 (새 창)