CVE-2026-100714
Beschrijving NL
Froxlor vóór 2.3.12 beperkt of ontsnapt niet aan de instelling system.letsencryptchallengepath: in tegenstelling tot de instellingen voor broers en zussen die zijn gehard in GHSA-33mp, heeft het veld geen string_regexp of required_otp-beveiliging en wordt de waarde ervan aaneengeschakeld zonder te ontsnappen naar de acme.sh-opdrachtregel die is ingebouwd in lib/Froxlor/Cron/Http/LetsEncrypt/AcmeSh.php en wordt uitgevoerd door de root-cron via FileDir::safe_exec. Omdat safe_exec alleen shell-metakarakters opsomt zoals ; | & > < $ ~ ?, overleven spaties en aanhalingstekens en wordt de waarde gesplitst in extra acme.sh-argumenten. Een beheerder, of elke actor die in staat is om instellingen te schrijven (bijvoorbeeld via de instellingen-import API), kan daarom acme.sh-opties zoals --renew-hook, --pre-hook of --post-hook injecteren om willekeurige opdrachtuitvoering als root te verkrijgen bij de volgende Let's Encrypt cron run, of gebruik --config-home/--cert-home voor willekeurige bestandschrijft. Versies tot en met 2.3.10 worden beïnvloed; het probleem is opgelost in 2.3.12.
Origineel (Engels) tonen
Froxlor before 2.3.12 does not restrict or escape the system.letsencryptchallengepath setting: unlike sibling settings hardened in GHSA-33mp, the field has no string_regexp or required_otp guard, and its value is concatenated unescaped into the acme.sh command line built in lib/Froxlor/Cron/Http/LetsEncrypt/AcmeSh.php and executed by the root cron via FileDir::safe_exec. Because safe_exec only blacklists shell metacharacters such as ; | & > < $ ~ ?, spaces and quotes survive and the value is word-split into additional acme.sh arguments. An administrator, or any actor able to write settings (for example through the settings-import API), can therefore inject acme.sh options such as --renew-hook, --pre-hook or --post-hook to obtain arbitrary command execution as root at the next Let's Encrypt cron run, or use --config-home/--cert-home for arbitrary file writes. Versions up to and including 2.3.10 are affected; the issue is fixed in 2.3.12.