RCE on - https://dps.midi.data.mozilla.org/ through exposed debugging console
Categories
(Websites :: Other, defect)
Tracking
(Not tracked)
People
(Reporter: griffin.francis.1993, Assigned: emrose)
References
()
Details
(Keywords: reporter-external, sec-high, wsec-authorization, Whiteboard: [reporter-external] [web-bounty-form] [verif?])
Hi All.
I have managed to find an exposed Werkzeug Debugger situated here - https://dps.midi.data.mozilla.org/console should the pin be guessed it will enable me to be able to obtain remote code execution on the webservice. I have attempted to run a low bruteforce of this pin through Burpsuite, however I have locked the console (sorry! Was trying to demonstrate rce).
As mentioned here - https://werkzeug.palletsprojects.com/en/1.0.x/debug/
Danger
The debugger allows the execution of arbitrary code which makes it a major security risk. The debugger must never be used on production machines. We cannot stress this enough. Do not enable the debugger in production.
There is also this exploit to obtain the pin - https://www.daehee.com/posts/werkzeug-console-pin-exploit/ (Which I haven't run yet)
Please let me know if there are any issues.
| Reporter | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
Thank you for the excellent and clear report, Griffin. I'm reaching out to determine who is responsible for this domain and will get back to you when I know what our next steps are.
| Assignee | ||
Comment 2•6 years ago
|
||
A pull request has been opened against the affected site to have the console made inaccessible. I've also created a tracking bug that should be closed after the PR is.
| Assignee | ||
Comment 3•6 years ago
|
||
Looks like we have resolved the PR to revoke access to the console and I have confirmed that it's no longer possible for me to reach it. Big thanks to mreid and cvalaas for their support on this.
| Reporter | ||
Comment 4•6 years ago
|
||
Console appears to be not accessible now. Thanks for the quick action on this issue!
Updated•6 years ago
|
Updated•6 years ago
|
Updated•4 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•