CORS does a simple instead of preflighted request for POST with non-standard Content-Type header
Originally disclosed on Mozilla
- Fixed in 6 days
- Paid in 11 days
- Disclosed after 6 days
Created attachment 8668283
Details.docx
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Steps to reproduce:
Created and HTML page which will fire a cross domain POST request. opened the file in firefox and clicked on the button. It sends a cross domain request without any security check. (More details are present in the attached doc)
Actual results:
Firefox sends the request directly to the domain without security check. Sends the cross origin POST request from the file hosted locally to a totally different domain.
Expected results:
Expected result is, When a cross domain POST happens browser should ideally send the OPTION request first to the domain to check weather it accept the POST requests from this particular domain. IN the attachment I have also given a screenshot of testing the same thing in a chrome browser.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity business logic bug in DOM: Security. Mozilla made it public on 7 October 2015 as CVE-2015-7193.
About Business logic
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
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.