Critical Logic Vulnerability : Authentication Downgrade
The platform trusted a client-supplied securityLevel parameter when deciding whether a low-level user could sign a high-level document. An attacker could tamper with this parameter to downgrade the required security level and sign sensitive documents.
Published on medium.com
To bypass this control, I tampered with the request and changed the securityLevel value to 0 (matching the Low-Level account).
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
Likely the server trusted a client-supplied parameter (securityLevel) to determine the required security level instead of looking it up from its own database.
Impact
A low-level user could sign sensitive and official documents that require a high-level user, breaking the platform's signature policies.
What the attacker needed
A low-level user account; ability to intercept and modify requests
How it was found
- Send a signature request that requires a High-Level User.
- Intercept the request and note the securityLevel parameter set to 4.
- Try to sign with a Low-Level User account and observe an error.
- Tamper with the request by changing securityLevel to 0.
- The server accepts the modification and the document is signed.
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 sign a document online, the system checks your security level to see if you are allowed. Here, the system asked the user's browser what level was needed, instead of checking its own records. So a user with low privileges could simply change that number and sign documents they should not be able to.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.