Replayable Password Change Request Across Sessions.
The password change endpoint accepts a previously captured request again, even after the original session has ended and from a different session. An attacker who has obtained such a request can reuse it to change the victim's password again while the victim is logged in.
- Disclosed after 22 days
Summary by the program
Summary
The report describes a vulnerability in the password change endpoint (PUT /authentication/password) that allows for replay attacks. An attacker who captures a valid password change request can reuse the exact same request later, even from a different session or device, to reset the password again. This vulnerability persists across session renewals and does not require fresh CSRF tokens, timestamps, or other anti-replay mechanisms.
Steps to Reproduce
Log in as a user in Browser A using valid credentials. Intercept the password change request in Burp Suite. Send the captured request to Burp Repeater and save it for later use. Logout from Browser A; attempting to replay the request shows "isAuth:False". Log in again as the same user in another Browser B. From Burp Repeater, replay the exact same password change request captured in Step 3. Observe that the request succeeds and the password is changed, even though it originated from a different session, after the old session was logged out, and reused the exact same body and headers. A video recording (Recording_2025-07-24_154829.mp4) was provided as proof of concept.
Impact
The impact allows an attacker who has obtained a user's password change request to persistently maintain control over the account by replaying the captured request. This vulnerability allows unauthorized reuse of stale sessions/tokens to perform sensitive actions like password changes from any device or browser, as long as the victim is logged in. The attacker essentially has a "hidden backdoor" into the account by saving and reusing an old request. This breaks fundamental expectations of session security. CWE-613 (Insufficient Session Expiration) typically impacts authentication systems by allowing attackers to reuse old session credentials or session IDs for authorization purposes. This could lead to unauthorized access to sensitive functionality and data, bypassing proper authentication controls.
Context
The target is Malwarebytes, and the affected asset is oneview.threatdown.com. The feature under examination is the account password change endpoint, PUT /authentication/password. Normally, a password change should be tied to the authenticated session that submits it: once that session ends, or once the request has been used, the same request should no longer be accepted. The report shows that this is not the case here.
The weakness is classified as CWE-613, Insufficient Session Expiration. The program's summary states that a captured password change request can be replayed later, from a different session or device, to reset the password again, and that this works across session renewals without fresh CSRF tokens, timestamps or other anti-replay mechanisms.
Setup
The researcher needs two browsers, referred to as Browser A and Browser B, and a valid set of credentials for the same user account. The interception and replay tool is Burp Suite, using the Proxy to capture the request and Repeater to store and resend it. No special role or privilege is described beyond being a logged-in user.
The precondition for the attack is that the attacker has obtained a valid password change request, for example by capturing it from the victim's traffic. The replay itself only succeeds while the victim is logged in, as stated in the impact section.
Finding it
The captured password change request could be reused verbatim. The request body and headers captured in one session were accepted again in a later session, after the original session had been logged out. That is wrong because a state-changing request of this sensitivity should be bound to the session that issued it, and should not survive logout and re-authentication.
The program's summary describes the behaviour precisely: the exact same request can be reused later, even from a different session or device, to reset the password again, and the vulnerability persists across session renewals. No fresh CSRF token, timestamp or other anti-replay value is required for the replay to succeed.
Exploitation
Step 1: Log in as a user in Browser A
Log in to the application with valid credentials in Browser A. This establishes the session from which the password change request will be captured.
Step 2: Intercept the password change request
With Burp Suite proxying Browser A, perform a password change and intercept the resulting request to PUT /authentication/password. The report does not reproduce the raw request, so the exact headers and body are not shown here.
Step 3: Save the request in Burp Repeater
Send the captured request to Burp Repeater and save it for later use. This stored copy is the artefact that will be replayed.
Step 4: Log out and confirm the session is dead
Log out from Browser A. Attempting to replay the saved request at this point returns isAuth:False, showing that the request is rejected while no session is active.
Step 5: Log in again in Browser B
Log in again as the same user, this time in Browser B. This creates a new session, independent of the one that produced the captured request.
Step 6: Replay the captured request
From Burp Repeater, replay the exact same password change request captured in Step 3. The request succeeds and the password is changed, even though it originated from a different session, after the old session was logged out, and reused the exact same body and headers.
The researcher provided a video recording, Recording_2025-07-24_154829.mp4, as proof of concept.
Root cause
The endpoint accepts a password change request without binding it to the session that created it. The captured request carries no value that is invalidated on logout or on use: no fresh CSRF token, no timestamp and no other anti-replay mechanism is required, according to the program's summary. The replay fails with isAuth:False when nobody is logged in and succeeds once the victim logs in again, from another browser.
The behaviour is consistent with the server accepting the request whenever some session is authenticated, but the report does not state the server's logic. The request was accepted with its original body and headers, unchanged, without a fresh CSRF token, timestamp or other anti-replay value.
Impact
An attacker who has obtained a user's password change request can persistently maintain control over the account by replaying the captured request. The vulnerability allows unauthorised reuse of stale sessions or tokens to perform sensitive actions such as password changes from any device or browser, as long as the victim is logged in. In the report's words, the attacker essentially has a "hidden backdoor" into the account by saving and reusing an old request. This breaks fundamental expectations of session security.
CWE-613 typically impacts authentication systems by allowing attackers to reuse old session credentials or session IDs for authorisation purposes, which can lead to unauthorised access to sensitive functionality and data, bypassing proper authentication controls.
The impact section states the replay works as long as the victim is logged in.
Fix
The report does not state what was changed. Based on the described behaviour, the endpoint should reject a password change request that is not bound to the current session, for example by requiring a fresh CSRF token or a per-session value that is invalidated on logout and on use, and by invalidating the request after a successful password change. Whether any of this was implemented is not stated in the report.
Variants to test
- Replay a captured password change request after logout and re-login in a different browser, as in this report. A positive result is the request succeeding and the password changing with the original body and headers.
- Replay the same request twice within one session. A positive result is the second submission being accepted rather than rejected as already used.
- Replay other state-changing requests captured from the same session, such as email or profile changes, after re-login. A positive result is any of them succeeding from a different session.
- Replay a request captured before a session renewal, such as after a privilege change or a forced re-authentication. A positive result is the old request still being accepted.
- Remove or blank any anti-replay header or token from the captured request and replay it. A positive result is the request succeeding without that value, which shows the check is absent or not enforced.
Hunting notes
This kind of bug tends to hide in account-management endpoints that change sensitive state: password changes, email changes, MFA enrolment and similar actions. The signal during recon is a state-changing request with no per-request token visible in the captured request.
The researcher demonstrated impact by showing the full sequence: capture, logout, confirmation that the request is rejected with isAuth:False while logged out, re-login in a second browser, and a successful replay of the identical request. That contrast, between rejection without a session and acceptance with any session, is what makes the missing binding to the original session clear.
What happened, in plain words
A website let a user change their account password by sending a small message to its server. That message is supposed to work once, for the person who sent it, at the moment they sent it. The researcher found that the message could be saved, kept, and sent again later, from a completely different browser, and the server would still accept it and change the password again.
Think of it like a signed form at a bank counter. You fill in a request to change your PIN, the clerk stamps it, and it is processed. The bug here is that the stamped form never expires. If someone photographs it, they can bring the same form back after you have logged out and logged in again, and the bank will process it again. The bank checks that you are standing at the counter at that moment, not that the form belongs to this visit.
The affected site is oneview.threatdown.com, part of Malwarebytes. The feature is the password change endpoint, PUT /authentication/password. The weakness is classified as CWE-613, Insufficient Session Expiration, which is a formal name for "old credentials or old requests keep working longer than they should".
Some words you will meet
Before the steps, a few ideas from the report, explained from scratch.
- Endpoint: a specific address on a server that does one job. A website is made of many endpoints: one for logging in, one for viewing your profile, one for changing your password.
PUT /authentication/passwordis the address of the password change job.PUTis the type of request, one of the standard verbs browsers and tools use to talk to servers; it usually means "replace or update this thing". - API: the set of endpoints a website's own pages talk to behind the scenes. When you click "Save" on a web page, your browser sends a request to an API endpoint, and the page updates based on the reply. You never see these requests, but tools can.
- Session: a short-lived recognition between your browser and the server. When you log in, the server gives your browser a small piece of data, often called a session cookie or token, and your browser sends it back with every request. That is how the server knows "this is the same person who logged in a minute ago" without asking for the password each time. Logging out is supposed to make that piece of data worthless.
- Cookie or token: the actual string of characters stored in your browser that proves the session. It is like a cloakroom ticket: whoever holds it gets the coat. If it never expires, the coat is never safe.
- CSRF token: an extra, one-time value added to a request to prove it came from the real page and not from a saved copy. "CSRF" stands for Cross-Site Request Forgery, an attack where another site tricks your browser into sending a request you did not intend. A fresh CSRF token per request makes replaying an old request fail, because the old token is no longer valid.
- Timestamp: the time a request was made. If the server checks it and rejects anything older than a few minutes, a saved request becomes useless quickly.
- Anti-replay mechanism: any check whose purpose is to stop the same request being used twice. CSRF tokens and timestamps are two examples. A one-time code is another.
- Replay attack: literally replaying a recorded request. You capture a valid request once, then send the identical copy again later. If the server cannot tell the copy from the original, the attack works.
- Burp Suite: a tool used by security testers. It sits between your browser and the website, so it can show you every request your browser makes. Two parts matter here: Proxy, which captures requests as they pass, and Repeater, which stores a request and lets you send it again whenever you like, with edits if you want.
- Request body and headers: a request is like a letter. The headers are the envelope: who it is from, what format the contents are in, which session it belongs to. The body is the letter itself: the actual data, here the new password. Replaying "the exact same body and headers" means sending an identical copy of the whole letter, envelope included.
isAuth:False: a short reply from the server meaning "you are not authenticated", that is, "I do not recognise a logged-in user for this request". The report uses it as evidence that the request is rejected while nobody is logged in.
The setup
To reproduce this, the researcher needed:
- Two different browsers, called Browser A and Browser B. Two browsers are used because each keeps its own separate session, so logging in on one does not affect the other. Two separate profiles of the same browser would do the same job.
- A valid username and password for one account. No special admin role is mentioned; an ordinary logged-in user is enough.
- Burp Suite, set up so that Browser A's traffic passes through it. The Proxy part captures the password change request, and Repeater keeps a copy that can be resent later.
The attack also assumes the attacker already has a copy of a valid password change request. In this test the researcher captured their own, but in a real attack the request would have to be stolen from the victim's traffic somehow. The report does not describe how that theft would happen; it only shows what can be done once the request is in hand. One more condition from the impact section: the replay only works while the victim is logged in.
Finding it
The password change request could be reused word for word. The body and headers captured during one session were accepted again in a later session, after the original session had been logged out. That is wrong because a request this sensitive should be tied to the session that sent it. Once that session ends, or once the request has been used, the same request should be refused.
The program's summary describes the behaviour precisely: the exact same request can be reused later, even from a different session or device, to reset the password again, and this survives session renewals. No fresh CSRF token, timestamp or other anti-replay value is needed for the replay to succeed.
Exploitation, step by step
Step 1: Log in as a user in Browser A
Log in to the application with valid credentials in Browser A. This creates the session from which the password change request will be captured. The reason for starting here is that the request only exists once a logged-in user performs a password change; you cannot capture what was never sent.
Step 2: Intercept the password change request
With Burp Suite proxying Browser A, perform a password change and intercept the resulting request to PUT /authentication/password. Intercepting means telling Burp to pause the request on its way out, so you can look at it and keep a copy instead of letting it vanish.
The report does not reproduce the raw request, so the exact headers and body are not shown here. What matters is that the captured request contains the new password and whatever session information the browser attached to it.
Step 3: Save the request in Burp Repeater
Send the captured request to Burp Repeater and save it for later use. This stored copy is the artefact that will be replayed. Repeater is useful here because it holds the request exactly as captured and lets you fire it again at any time, unchanged.
Step 4: Log out and confirm the session is dead
Log out from Browser A. Then try to replay the saved request. At this point the server answers isAuth:False, showing that the request is rejected while no session is active.
This step shows the request is rejected while no session is active. Here the server does check something: it checks that somebody is logged in. The question is whether the request is tied to the session that sent it.
Step 5: Log in again in Browser B
Log in again as the same user, this time in Browser B. This creates a new session, completely independent of the one that produced the captured request. Browser B has never seen the captured request; it only knows the fresh login.
Step 6: Replay the captured request
From Burp Repeater, replay the exact same password change request captured in Step 3. The request succeeds and the password is changed, even though it came from a different session, after the old session was logged out, and it reused the exact same body and headers.
This is the moment the bug is proven. The old request, which was correctly refused a moment ago, becomes valid again the instant any session for that user exists. The request is accepted once some session for that user is logged in, even though it came from a different session.
The researcher provided a video recording, Recording_2025-07-24_154829.mp4, as proof of concept. It was provided as proof of concept.
Why it happens
The endpoint accepts a password change request without tying it to the session that created it. The captured request carries no value that is cancelled on logout or on use: according to the program's summary, no fresh CSRF token, no timestamp and no other anti-replay mechanism is required. The replay fails with isAuth:False when nobody is logged in and succeeds once the victim logs in again. That is why the replay fails with isAuth:False when nobody is logged in, and succeeds as soon as the victim logs in again, from any browser.
The behaviour is consistent with the server accepting the request whenever some session is authenticated, but the report does not state the server's logic. A stale request therefore becomes valid again the moment a valid session exists. The request was accepted with its original body and headers, unchanged, without a fresh CSRF token, timestamp or other anti-replay value.
What an attacker could do with it
An attacker who has obtained a user's password change request can keep control of the account by replaying the captured request. The vulnerability allows unauthorised reuse of stale sessions or tokens to perform sensitive actions such as password changes from any device or browser, as long as the victim is logged in. In the report's words, the attacker essentially has a "hidden backdoor" into the account by saving and reusing an old request. This breaks fundamental expectations of session security.
CWE-613 typically affects authentication systems by allowing attackers to reuse old session credentials or session IDs for authorisation purposes, which can lead to unauthorised access to sensitive functionality and data, bypassing proper authentication controls.
The impact section states the replay works as long as the victim is logged in.
How it should be fixed
Based on the described behaviour, the endpoint should reject a password change request that is not bound to the current session, for example by requiring a fresh CSRF token or a per-session value that is cancelled on logout and on use, and by invalidating the request after a successful password change. Whether any of this was implemented is not stated in the report.
Other things worth testing
These are variations on the same idea, useful if you want to look for similar bugs elsewhere.
- Replay a captured password change request after logout and re-login in a different browser, as in this report. A positive result is the request succeeding and the password changing with the original body and headers.
- Replay the same request twice within one session. A positive result is the second submission being accepted rather than rejected as already used.
- Replay other state-changing requests captured from the same session, such as email or profile changes, after re-login. A positive result is any of them succeeding from a different session.
- Replay a request captured before a session renewal, such as after a privilege change or a forced re-authentication. A positive result is the old request still being accepted.
- Remove or blank any anti-replay header or token from the captured request and replay it. A positive result is the request succeeding without that value, which shows the check is absent or not enforced.
Notes for hunting
This kind of bug tends to hide in account-management endpoints that change sensitive state: password changes, email changes, MFA enrolment and similar actions. MFA means multi-factor authentication, the extra code or app beyond your password. The signal during recon is a state-changing request with no per-request token visible in the captured request.
The researcher demonstrated impact by showing the full sequence: capture, logout, confirmation that the request is rejected with isAuth:False while logged out, re-login in a second browser, and a successful replay of the identical request. That contrast, between rejection without a session and acceptance with any session, is what makes the missing binding to the original session clear.
Glossary
- API: the set of endpoints a website's pages use behind the scenes to send and receive data.
- Anti-replay mechanism: any check that stops the same request being accepted twice, such as a one-time token or a timestamp.
- Burp Suite: a testing tool that sits between browser and website, capturing requests (Proxy) and letting you resend them (Repeater).
- Cookie: a small piece of data a website stores in your browser, often used to identify your session.
- CSRF token: a one-time value added to a request to prove it came from the real page, which makes replayed requests fail.
- CWE-613: a standard label for Insufficient Session Expiration, meaning old session credentials or requests keep working longer than they should.
- Endpoint: a specific address on a server that performs one job, such as changing a password.
- Headers: the envelope part of a request, carrying information such as format and session details.
isAuth:False: a server reply meaning the request was not recognised as coming from a logged-in user.- MFA: multi-factor authentication, an extra verification step beyond a password.
- Proxy: a tool or setting that routes traffic through a middle point so it can be inspected.
- Recon: the mapping-out phase of testing, where you learn what endpoints and features a site has.
- Repeater: the part of Burp Suite that stores a request and resends it on demand.
- Replay attack: capturing a valid request and sending an identical copy later, hoping the server cannot tell the difference.
- Request body: the contents of a request, here the new password data.
- Session: a temporary recognition between browser and server, created at login and meant to end at logout.
- State-changing request: a request that alters data on the server, such as changing a password or an email address.
- Timestamp: the recorded time of a request, which a server can check to reject old ones.
- Token: a string of characters proving identity or permission, often used in place of a session cookie.
PUT: an HTTP verb usually meaning "update or replace this thing".