Password Reuse Vulnerability on AWS Sign-in Page via Password Reset Flow leads to Security Policy Violation
The AWS reset flow accepted the same password the user already had, without any check or warning, which could weaken account security.
- Disclosed after 41 days
Asset URL:
██████
Summary:
The AWS sign-in page allows users to reuse old passwords when resetting their password, which violates security best practices outlined in OWASP Authentication Cheat Sheet and NIST 800-63B Digital Identity Guidelines. This misconfiguration could potentially weaken account security by allowing users to maintain the same password indefinitely.
Steps To Reproduce:
- Navigate to the AWS sign-in page: ██████████
- Click on "Forgot password" link
- Complete the password reset process via email
- When setting a new password, enter the same password that was previously used
- The system accepts the reused password without any restrictions or warnings
Supporting Material/References:
- Video demonstration: amazon_bounty.webm
According to OWASP Authentication Cheat Sheet: "Users should not be able to reuse their recent passwords when choosing a new password. At a minimum, the application should ensure that the new password is not the same as the current password."
And per NIST 800–63B Digital Identity Guidelines: "When processing a password change request, verifiers SHALL compare the prospective secrets with secrets previously used by the subscriber and SHALL reject them if they are found to be the same as one previously used."
These standards emphasize preventing password reuse to enhance account security.
##Timestamp: 2026-01-16 3:00am
Context
The target is the AWS sign-in page and, specifically, its password reset flow. The feature under review is the "Forgot password" path: a user who cannot sign in requests a reset, completes verification through email, and then chooses a new password. The report examines one property of that flow, namely whether the new password may be identical to the one the account was already using.
The researcher frames the behaviour as a violation of two published standards. The OWASP Authentication Cheat Sheet is quoted as saying:
Users should not be able to reuse their recent passwords when choosing a new password. At a minimum, the application should ensure that the new password is not the same as the current password.
NIST 800-63B Digital Identity Guidelines are quoted as saying:
When processing a password change request, verifiers SHALL compare the prospective secrets with secrets previously used by the subscriber and SHALL reject them if they are found to be the same as one previously used.
The weakness class recorded for the report is weak password requirements. The report was filed against the AWS vulnerability disclosure programme and carries no severity score and no bounty.
Setup
No special accounts, roles, tools or versions are described. The report describes no special accounts, roles, tools or versions. The researcher also recorded a video demonstration, amazon_bounty.webm, as supporting material; the report text does not describe its contents beyond the demonstration of the flow.
Finding it
The observation is simple: during a password reset, the sign-in page accepts a new password that is the same as the old one. There is no restriction and no warning. The researcher describes the behaviour as a misconfiguration that violates the quoted guidance.
The concern raised is that a user can keep the same password indefinitely, which weakens account security relative to the guidance in the two standards quoted above.
Exploitation
Step 1: reach the sign-in page
Navigate to the AWS sign-in page. The report redacts the exact URL in both the asset field and the step, so the address is not reproduced here.
Step 2: start the reset
Click the "Forgot password" link on the sign-in page.
Step 3: complete verification
Complete the password reset process via email. The report does not describe the contents of the email or the shape of the verification step.
Step 4: submit the old password as the new one
When setting a new password, enter the same password that was previously used.
Step 5: observe the result
The system accepts the reused password without any restrictions or warnings. This is the whole of the finding: the reused password is accepted without restriction or warning.
No HTTP requests, responses, headers or parameters are included in the report, so there is nothing further to reproduce at the protocol level.
Root cause
The reset flow does not compare the prospective password with the one currently in use, or it compares them and does not reject a match. The report does not identify the code responsible, so the precise mechanism is not established. What can be said is that the check required by the quoted NIST language, a comparison of the prospective secret against previously used secrets with rejection on a match, is not enforced at the point where the new password is set.
Whether a history of older passwords is retained at all is not stated.
Impact
The report keeps the impact hedged. The behaviour could potentially weaken account security by allowing users to maintain the same password indefinitely. There is no demonstrated attacker action, no account takeover, and no evidence that an attacker gains anything directly from the reset flow itself. The harm described is that account security could potentially be weakened by allowing users to maintain the same password indefinitely.
Fix
The report does not state that anything was changed, and no remediation is described. The fix implied by the quoted guidance is to compare the prospective password against the current one, and against previously used ones where a history is kept, and to reject a match during the reset. That is a recommendation, not a change confirmed in the report.
Variants to test
- Reset with the current password, as here. A positive result is the reset completing with no warning and the old credential still working afterwards.
- Change password from an authenticated settings page rather than the reset flow. A positive result is the same acceptance of the current password, which would show the check is missing in both paths rather than only in reset.
- Alternate between two passwords across successive resets. A positive result is both being accepted, which shows no history is kept beyond the current secret.
- Case and whitespace variations of the current password. A positive result is acceptance of a value that normalises to the current one, which points to a comparison done before normalisation or not done at all.
- Reset immediately after a reset. A positive result is the just-set password being accepted again, which confirms the comparison is absent rather than merely stale.
Hunting notes
This kind of issue hides in credential management flows rather than in the main authentication endpoint: password reset, password change, forced rotation after a policy event, and account recovery.
What happened, in plain words
A security researcher looked at the page where you sign in to Amazon Web Services (AWS), the cloud computing platform. That page has a "Forgot password" link, which starts a process called a password reset: you ask the site to let you choose a new password, you prove you own the account by receiving an email, and then you type a new password.
The reproduction steps show that during that reset, instead of choosing a genuinely new password, the same password the account was already using is entered. The system accepted it, without any restrictions or warnings.
That is the whole finding. It is not a break-in and nobody's account was taken over. The concern is that a person can keep the same password forever, even at the exact moment they have decided to change it, and that this goes against two well-known sets of security rules: the OWASP Authentication Cheat Sheet and the NIST 800-63B Digital Identity Guidelines. Both say, in short, that a site should refuse a new password that matches the old one.
The product and the feature
AWS is a large collection of online services used by companies and individuals. The sign-in page is the front door.
When you forget your password, you cannot simply ask the site to tell you what it was, because the site should not be able to read your password either. Instead there is a reset flow:
- You click "Forgot password".
- The site sends a message to the email address on the account.
- You open that message and follow what it says, which proves you control the mailbox.
- You type a new password, and from then on that is the password for the account.
The step that matters here is the last one. At that moment the site knows, or could know, what the old password was, and it is the natural place to check the new one against it. The report shows that the reused password is accepted.
The two standards the report quotes
The report does not just say "this feels wrong". It points at two published documents that describe how password systems ought to behave.
OWASP is an open community that publishes free guidance on application security, including a document called the Authentication Cheat Sheet. The report quotes it as saying:
Users should not be able to reuse their recent passwords when choosing a new password. At a minimum, the application should ensure that the new password is not the same as the current password.
In plain words: when you pick a new password, the site should stop you from picking one you have used recently, and at the very least it should stop you from picking the one you are using right now.
NIST is the US National Institute of Standards and Technology, a government body that publishes technical standards. One of them, Special Publication 800-63B, covers digital identity and says how passwords should be handled. The report quotes it as saying:
When processing a password change request, verifiers SHALL compare the prospective secrets with secrets previously used by the subscriber and SHALL reject them if they are found to be the same as one previously used.
In plain words: when someone asks to change their password, the system must compare the password they want with the ones used before, and must refuse it if it matches. The word "SHALL" in these documents means "must", not "should consider".
Setting up
The report describes no special accounts, no tools, no software versions and no particular permissions. The only things needed are:
- an AWS account whose password can be reset through the email flow;
- access to the mailbox that receives the reset email.
The researcher also attached a video demonstration named amazon_bounty.webm as supporting material. The report does not describe what the video shows beyond demonstrating the flow.
Finding it
The observation is short. During a password reset, the sign-in page accepts a new password that is identical to the old one. There is no restriction and no warning.
The researcher calls this a misconfiguration. A functional bug is when a feature does not do what it was built to do, for example a button that does nothing. A misconfiguration is when a feature works as built, but the way it is built leaves out a protection it should have. Here the reset flow does what it promises, it lets you set a password, but it skips the comparison that the quoted standards require.
The worry is that a user can keep the same password indefinitely. The concern is that a user can keep the same password indefinitely, which could potentially weaken account security.
Reproducing it, step by step
Step 1: reach the sign-in page
Navigate to the AWS sign-in page. The report hides the exact address, both in the asset field at the top and in this step, so the URL is not shown here.
Why this step: everything starts from the normal front door, the same page any customer uses.
Step 2: start the reset
Click the "Forgot password" link on the sign-in page.
Why this step: this is the entry point to the flow under test. The researcher is not attacking the sign-in form itself, but the recovery path beside it.
Step 3: complete verification
Complete the password reset process via email. The report does not describe what the email contains or what the verification step looks like.
Why this step: the email proves the person doing the reset controls the mailbox tied to the account.
Step 4: submit the old password as the new one
When setting a new password, enter the same password that was previously used.
Why this step: this is the actual test. Everything before it is ordinary use of the feature. The single unusual action is typing the old password into the "new password" box.
Step 5: observe the result
The system accepts the reused password without any restrictions or warnings. The reused password is accepted without any restrictions or warnings.
Why this step: the result is the evidence. A rejection or a warning would have meant the check exists; acceptance means it does not, or that it does not block.
The report includes no HTTP requests, responses, headers or parameters, so there is nothing to reproduce at the network level. For a reader new to this: when a browser talks to a website it sends an HTTP request (a message asking for something) and gets back an HTTP response (the answer). Headers are the labelled extra lines in those messages, and parameters are the named values sent along with a request, such as the fields of a form. Many technical reports paste these messages so others can replay the exact traffic. This one does not, because the finding is visible on screen without any special tooling.
Why it happens
The reset flow does not compare the password you are about to set with the one currently in use, or it compares them and does not reject a match. The report does not identify the code responsible, so the exact mechanism is not established.
What can be said is that the check described in the NIST quotation, comparing the new password with previously used ones and refusing a match, is not enforced at the point where the new password is set.
Whether the system keeps a history of older passwords at all is not stated.
A useful comparison: a building might check your badge at the door, which is the email step, but never check whether the new key you are cutting is a copy of the old one, which is the missing comparison.
Impact
The report keeps the impact cautious. The behaviour could potentially weaken account security by allowing users to maintain the same password indefinitely.
There is no demonstrated attacker action, no account takeover, and no evidence that an attacker gains anything directly from the reset flow itself. The harm described is that a possibly compromised or weak password survives the moment when the user chose to change it, which is exactly the scenario the standards are written to prevent.
Fix
The fix implied by the quoted guidance is to compare the password being set against the current one, and against previously used ones where a history is kept, and to reject a match during the reset. That is a recommendation, not a change confirmed in the report.
Variants to test
These are follow-up tests in the same area, each with a clear sign of success:
- Reset with the current password, as here. A positive result is the reset completing with no warning and the old password still working afterwards.
- Change the password from an authenticated settings page rather than the reset flow. A positive result is the same acceptance of the current password, which would show the check is missing in both paths rather than only in reset.
- Alternate between two passwords across successive resets. A positive result is both being accepted, which shows no history is kept beyond the current password.
- Case and whitespace variations of the current password. A positive result is acceptance of a value that normalises to the current one, which points to a comparison done before normalisation or not done at all. Normalisation means tidying a value into a standard form, for example ignoring upper and lower case or extra spaces.
- Reset immediately after a reset. A positive result is the just-set password being accepted again, which confirms the comparison is absent rather than merely stale.
Hunting notes
This kind of issue hides in credential management flows rather than in the main sign-in form: password reset, password change, forced rotation after a policy event, and account recovery.
Recon, short for reconnaissance, is the early phase of looking around a target to see what it is made of before testing anything.
Glossary
- AWS: Amazon Web Services, a large cloud computing platform with many online services.
- Account: the record on a website that belongs to one user, protected by a password.
- Authentication: proving who you are, usually with an email address and password.
- Password reset flow: the sequence of steps that lets someone who forgot their password choose a new one, usually after proving they control the account's email.
- Email verification: proving you control a mailbox by receiving and acting on a message sent to it.
- Password reuse: using the same password again, either on another site or, as here, as the replacement for itself.
- Weak password requirements: the weakness category recorded for this report, covering rules about passwords that are too permissive.
- Misconfiguration: a system that works as built but is set up in a way that leaves out a protection it should have.
- Functional bug: a feature that does not do what it was built to do.
- OWASP: an open community that publishes free guidance on application security, including the Authentication Cheat Sheet.
- OWASP Authentication Cheat Sheet: a guidance document listing good practice for login and password systems.
- NIST: the US National Institute of Standards and Technology, a government body that publishes technical standards.
- NIST 800-63B: a NIST publication on digital identity that includes rules for handling passwords.
- SHALL: in standards language, a mandatory requirement, meaning "must".
- Vulnerability disclosure programme: a channel a company provides for anyone to report a suspected security problem.
- Severity: a rating of how serious a reported issue is; this report has none.
- Bounty: a payment some companies make for a valid security report; this report has none.
- HTTP request: the message a browser sends to a website asking for something.
- HTTP response: the message a website sends back.
- Header: a labelled extra line in an HTTP request or response carrying information such as the content type.
- Parameter: a named value sent with a request, such as a form field.
- Normalisation: tidying a value into a standard form, for example ignoring case or extra spaces, before comparing it.
- Recon: reconnaissance, the early phase of examining a target before testing it.
- Credential: a secret used to prove identity, most often a password.
- Account takeover: when an attacker gains control of someone else's account.