Bug 1277343 (CVE-2015-7188) - CVE-2015-7188 Mozilla: Trailing whitespace in IP address hostnames can bypass same-origin policy (MFSA 2015-122)
Summary: CVE-2015-7188 Mozilla: Trailing whitespace in IP address hostnames can bypass...
Alias: CVE-2015-7188
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On:
Blocks: 1275590
TreeView+ depends on / blocked
Reported: 2015-11-03 05:49 UTC by Huzaifa S. Sidhpurwala
Modified: 2023-05-12 10:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-11-24 07:32:20 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1982 0 normal SHIPPED_LIVE Critical: firefox security update 2015-11-04 17:10:38 UTC

Description Huzaifa S. Sidhpurwala 2015-11-03 05:49:47 UTC
Security researcher Michał Bentkowski reported that adding white-space characters to hostnames that are IP addresses can bypass same-origin policy. This flaw was caused by trailing whitespaces being evaluated differently when parsing IP addresses instead of alphanumeric hostnames. This could lead to a cross-site script (XSS) attack.

External Reference:



Red Hat would like to thank the Mozilla project for reporting this issue. Upstream acknowledges Michał Bentkowski as the original reporter.

Comment 1 errata-xmlrpc 2015-11-04 12:11:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 5

Via RHSA-2015:1982 https://rhn.redhat.com/errata/RHSA-2015-1982.html

Note You need to log in before you can comment on or make changes to this bug.