Join Nostr
2026-09-16 02:31:21 UTC

niconiconi on Nostr: Using `acme.sh` to renew a certificate as root sounds like a RCE-as-root waiting to ...

Using `acme.sh` to renew a certificate as root sounds like a RCE-as-root waiting to happen. A Web client written in pure shell, what could possibly go wrong? I just wrote a script to drop its own privilege when it calls `acme.sh`, so it's safe to use in a root cronjob.

After writing this, I found RCE-as-root is not just "waiting" to happen, it has already happened as CVE-2023-38198. Someone even argued the case as a possible mechanism responsible for the jabber.ru wiretapping incident. https://remyhax.xyz/posts/reproducing-lawful-tls-wiretapping/