psf-apache-roller-xmlrpc-check(8)
Apache Roller XML-RPC unauthenticated deserialization check/mitigate (v1)
CVE-2026-129448 CVE-2026-82384
If this software is helpful, consider a donation to our 501c3 nonprofit:
https://privacysafe.foundation
CVE-2026-129448 (CVSS 3.1 9.8, CWE-502 Deserialization of Untrusted Data),
published 17 November 2026 by the Apache Software Foundation, found by
n0mi1k and reported by Matt Raible. It is the same underlying bug as
CVE-2026-82384 (published September 2026), which named only Roller 6.1.5
as affected; the November advisory widens the affected range back to
4.0.0 and says the flaw is being actively exploited. CISA added it to the
Known Exploited Vulnerabilities catalog on 20 November 2026.
Roller's XML-RPC endpoint (POST /roller-services/xmlrpc, serving the
legacy Blogger and MetaWeblog APIs) is configured with the XML-RPC
library's enabledForExtensions option set to true, which makes it accept
non-standard vendor value types, including one carrying a base64-encoded
Java-serialized object. The servlet deserializes that object before any
authentication check runs, so a suitable class on the server's classpath
turns one unauthenticated POST into remote code execution. The servlet
mapping for that path is present in every shipped web.xml regardless of
any application-level setting; in particular, the per-site "XML-RPC"
toggle in Roller's own admin UI (webservices.enableXmlRpc) does not gate
this servlet in affected releases, because the deserialization happens
before that setting is ever read. Fixed in Apache Roller 6.1.6 (11
November 2026), which disables the vendor extension types outright and
adds a servlet filter that rejects the request outright when the admin
UI's XML-RPC toggle is off, so that toggle finally does what it always
looked like it did. Roller 6.1.7 (the current release) also fixes
CVE-2026-123374, an unrelated deserialization bug in weblog update ping
responses, and 15 further, lower-severity issues; this script does not
audit for any of those.
Usage:
./apache-roller-xmlrpc-check.sh [command] [...]
check - read-only. Finds installed Roller web.xml files by finding
every Tomcat instance this host has, the same way this
collection's tomcat-oct2026-check.sh does: explicit
CATALINA_HOME/CATALINA_BASE, every running Java process's
-Dcatalina.home=/-Dcatalina.base= (which also catches an
install at a non-default path, and a CATALINA_BASE whose
webapps/ does not live under its CATALINA_HOME in a
multi-instance setup), then the usual filesystem locations
as a fallback for an install that is not currently running;
walks each one's webapps/ for a web.xml containing the
distinctive XML-RPC servlet mapping, or a path given with
ROLLER_WEBXML, and reports, for each one: whether the
enabledForExtensions setting is on, whether the
/roller-services/xmlrpc mapping is still present, and
whether the post-fix XmlRpcEnabledFilter (added in 6.1.6)
is there. That filter's presence is the one reliable
signal this script has for "patched 6.1.6 or later", since
a deployed WAR does not reliably carry its own version
number anywhere on disk; its absence does not by itself
confirm an old version; it means the signal could not be
found, same as a missing install. Exits 1 if any install
looks exposed (the mapping present, extensions enabled or
unchanged from the shipped default, and the fix filter
absent), 0 if every one found looks patched or already
worked around, 2 if none was found or the result could not
be determined.
hunt - read-only. Greps readable Tomcat/httpd access logs for POST
requests to /roller-services/xmlrpc. A match is a strong
indicator something tried this endpoint, not proof it
carried the malicious payload, since the path is also used
for legitimate Blogger/MetaWeblog API clients where those
are actually in use; finding none does not prove nothing
happened, since a successful attack need not appear in any
log this script can reach.
mitigate [--remove-mapping] [--restart] [--dry-run] [--force] - edits
web.xml to set enabledForExtensions to false (the default
action), which is one of the two workarounds Apache's own
advisory names and, since it only turns off the dangerous
vendor extension type rather than the endpoint itself,
has no real cost to legitimate Blogger/MetaWeblog API
use; this action always runs. --remove-mapping instead
comments out the <servlet-mapping> for
/roller-services/xmlrpc, the other named workaround,
which does have a real cost: it takes the legitimate API
offline entirely. Because of that cost, --remove-mapping
by default only acts when 'check' would report a Roller
install here as exposed (never found, or a version signal
that could not be read, counts as not-yet-confirmed-fixed
for this purpose, not as clear); when every install found
is already confirmed fixed, it changes nothing and says
so, unless --force is given to remove the mapping anyway.
Backs up the file first and checks the result is still
well-formed XML, rolling back automatically if not.
Requires root (or whatever user owns the deployed webapp
directory), unless --dry-run is given, which prints a diff
of what would change for every web.xml found and writes
nothing, so it needs no privilege (and skips the exposure
gate on --remove-mapping, so you can preview the change
either way). Neither Tomcat nor any
other servlet container picks up a web.xml edit on its
own: the advisory says to restart Roller, and a context
reload is not reliably enough, since the servlet and
filter instances this bug involves are created once at
context start. --restart tries 'systemctl restart'
against a detected Tomcat unit;
without it, restart the container yourself once you're
satisfied with the result.
rollback [--restart] [--dry-run] - restores the web.xml mitigate
backed up. --dry-run prints which file would be restored
from which backup and writes nothing, so it needs no
privilege.
Requires root. --restart as above.
rules - prints a short explanation with no side effects.
version - prints this script's version.
Environment: ROLLER_WEBXML, an explicit web.xml path (or space-separated
list), checked before any discovered Tomcat instance. PSF_BACKUP_DIR,
where backups and the restore manifest are kept (default
/var/backups/psf-security-patches/apache-roller-xmlrpc).
What this script cannot do: upgrade Roller. mitigate only closes the one
path named in the advisory; it does not touch CVE-2026-123374 or the other
issues 6.1.7 fixes, and it cannot tell you whether a deserialization
already happened before you ran it.
PSF_LOCK_WAIT: seconds a run that changes the host waits for another one
that is already changing it (default 30), then exit 2.The Security Patches software and this documentation are dedicated to the public domain under CC0 1.0 Universal. Other pages on privacysafe.app/docs are CC BY-SA 4.0 unless the page says otherwise.