/

CVE-2026-118411

Severity:

HIGH RISK

(8.8)

CSRF (CWE-352) in Apache Roller Administrative Actions

CVE-2026-118411

Deferred

Vulnerability type

Category:

Cross-Site Request Forgery (CSRF)

CWE:

CWE-352

Impact:

Unauthorized administrative account creation

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Apache Roller administrative actions accepted GET requests without requiring a request token, creating a cross-site request forgery (CSRF) risk. If a logged-in administrator visits an attacker-controlled link, the attacker may cause an administrator account to be created.

Affected context

The issue affects Apache Roller versions 5.0.1 through 6.1.6 when administrative actions that change data can be triggered with GET requests. In this context, request-token checks applied only to POST requests, leaving GET-based actions without the same CSRF protection.

Exploit preconditions

  • Attack surface: Administrative web actions in Apache Roller
  • Required access: The attacker does not need a Roller account; a Roller administrator must be logged in
  • Trigger point: The administrator opens an attacker-controlled link while authenticated
  • Why exploitation is possible: A data-changing action can be submitted as a GET request without a valid request token

Why this happens

The application applies CSRF token validation to POST requests but permits administrative actions that change data to use GET requests. Because browsers can make cross-origin requests when a user follows a link, those actions may be triggered using the administrator's authenticated session without the administrator's intent. This maps to CWE-352: Cross-Site Request Forgery (CSRF).

Potential impact

  • An attacker may cause an administrator account to be created
  • The new account could enable unauthorized access to administrative functions
  • An attacker could make further changes within the permissions of the created account

General mitigation guidance

Mitigation patterns include requiring POST for every action that changes application state and validating a session-bound CSRF token on those requests. Applications can also avoid state changes in response to GET requests, use appropriate cookie protections as a supplementary control, and limit administrative privileges to reduce the potential impact of a compromised session.

How teams detect issues like this

  • Review routes and controllers for state-changing operations reachable through GET requests
  • Use static analysis or code review checks to confirm that state-changing handlers enforce CSRF validation
  • Test that requests without valid tokens are rejected, including requests initiated through cross-origin navigation
  • Apply security policies that prohibit state changes through safe HTTP methods

Sources

SourceLink
github.comgithub.com/apache/roller/pull/227
lists.apache.orglists.apache.org/thread/q2h1r9v5qqofxh8qds58dtqrhf85ll60

Frequently asked

questions

The attacker does not need a Roller account, but exploitation depends on a logged-in administrator opening an attacker-controlled link.

The attacker needs the administrator's browser to send a request while the administrator is authenticated. The attacker does not need direct access to the administrator's credentials.

Require POST for data-changing actions and validate a CSRF token for each such request. GET requests should not change application state.

Enforce consistent CSRF protections across all state-changing routes, review HTTP method semantics, and test that cross-origin requests cannot trigger privileged actions.

Find out what's already
exploitable in your codebase.