Skip to content
CSRF Write-up Beginner

PKP-WAL <= 3.5.0-1 Login Cross-Site Request Forgery Vulnerability

The login endpoint of several PKP publishing applications accepted requests without a valid CSRF token because the token was only checked in the browser and not on the server. An attacker could therefore submit a login request on a victim's behalf, potentially forcing them into an attacker-controlled session.

karmainsecurity.com

Published on karmainsecurity.com

Open Journal Systems (OJS), Open Monograph Press (OMP), and Open Preprint Systems (OPS) allow users to perform a login without providing the “csrfToken” parameter, which is included on the client-side, but it’s not validated on the server-side. As such, all these applications are vulnerable to potential “Login…

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The server did not validate the CSRF token on the login request, relying only on the client-side to include it.

Impact

An attacker could perform login CSRF, potentially forcing a victim into an attacker-controlled session; the text does not describe further consequences.

What the attacker needed

Victim visits an attacker page; attacker has an account on the target

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When you log in, the website usually includes a secret value with the form to prove the request really came from its own page. Here the server never checked that value, so another site could quietly send a login request for you. That means an attacker could log you into an account they control without you noticing.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.