Closed Bug 576428 Opened 15 years ago Closed 15 years ago

Disable Detailed Error Messages to Prevent Content Spoofing

Categories

(support.mozilla.org :: Mobile, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcoates, Unassigned)

References

()

Details

(Whiteboard: [WH-3730375] [WH-3735150] [WH-3733644] [infrasec-error])

Note: This bug addresses WH-3730375, WH-3735150 (same root cause for both issues) Issue Content spoofing is possible by providing user controlled data to specific URL variables at mobile.support.mozilla.com. The user controlled data specified within the URL is displayed within the error message on the returned page. An attacker could craft a message which is displayed by the support page and instructs the user to visit a malicious external website. Vulnerable Variables: 'offset' https://mobile.support.mozilla.com/tiki-browse_freetags.php?locale=en-US&tag=url&find=&broaden=y&type=&offset=AttackerMessageHere 'maxRecords' http://mobile.support.mozilla.com/tiki-orphan_pages.php?offset=0&sort_mode=lastModif_desc&initial=a&maxRecords=AttackerMessageHere `offset' http://mobile.support.mozilla.com/tiki-orphan_pages.php?offset=AttackerMessageHere&sort_mode=lastModif_desc&initial=a&maxRecords=10 Recommended Remediation Modify the error handling page to simply display "An unexpected error has occurred!" Remove the code which displays the specific URL variable and data that caused the error. Note: Hopefully this issue can be easily resolved by modifying the error handling page for tiki-wiki. However, per bug 553099 comment 6, we do not want to significantly delay the tiki-wiki migration with this issue if the remediation requires extensive work.
Whiteboard: [WH-3730375] [WH-3735150] → [WH-3730375] [WH-3735150] [WH-3733644]
Whiteboard: [WH-3730375] [WH-3735150] [WH-3733644] → [WH-3730375] [WH-3735150] [WH-3733644] [infrasec-error]
This code is gone.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
These bugs are all resolved, so I'm removing the security flag from them.
Group: websites-security
You need to log in before you can comment on or make changes to this bug.