Skip to content
Crypto Disclosed report Intermediate

Padding Oracle ms10-070 in the a DoD website (https://██████/)

The website was vulnerable to the MS10-070 padding oracle flaw in ASP.NET, exposed through a WebResource.axd parameter. An attacker could use the oracle to decrypt data protected by the framework without knowing the key.

miguel_santareno Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 5 months
  • Disclosed after 19 months

Hi there i found a Padding Oracle ms10-070 in the following website: https://█████████/

In the following steps i will demonstrate how to reproduce the vulnerability.

POC: 1ºGo to the following url: https://████/

you will see in the source code off the page something like "WebResource.axd?d="

webresource.jpg

2ºOpen the link and Copy the value from WebResource.axd?d= to &t=636681459604795562 ██████████████

value.jpg

Next step i use a script that i found in this github that allows me to test if the application is vulnerable or not. https://github.com/inquisb/miscellaneous/blob/master/ms10-070_check.py

clone the script to your machine and then copy the value and paste. Output from the script: ./ms10-070 ████████████

padding.jpg

Example: For more detailed information please check the References section first link.

Remediation and References: https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-070 https://blogs.msdn.microsoft.com/fabdulwahab/2015/08/15/security-protecting-sharepoint-server-applications/

Best Regards Miguel Santareno

Impact

Given control of data and a padding oracle, an attacker can wholly decrypt said data. This is possible without any knowledge of the key material.

The original report as published on HackerOne, by miguel_santareno. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Impact

An attacker with control of data and a padding oracle could wholly decrypt that data without any knowledge of the key material.

What the attacker needed

Reachable WebResource.axd endpoint; unpatched ASP.NET (MS10-070)

The fix

The application should be patched by applying Microsoft security bulletin MS10-070.

How it was found

  1. Open the target page and view its source to find a WebResource.axd link.
  2. Copy the d parameter value up to the t parameter.
  3. Run the referenced MS10-070 check script with that value.
  4. Observe the script output indicating the application is vulnerable.

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 report has not been written yet. The Original tab links to the source.

A padding oracle is a weakness where a system reveals, through small differences in its responses, whether encrypted data was decrypted correctly. By repeatedly sending slightly altered data and watching those differences, an attacker can gradually work out the plaintext without ever having the secret key.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by miguel_santareno

View all

9 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.