Bug 1588759 - CVE-2018-12016 epiphany: Denial of service via window.open and document.write calls [fedora-all]
Summary: CVE-2018-12016 epiphany: Denial of service via window.open and document.write...
Status: CLOSED DUPLICATE of bug 1581802
Alias: None
Product: Fedora
Classification: Fedora
Component: epiphany
Version: 28
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michael Catanzaro
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: CVE-2018-12016
TreeView+ depends on / blocked
Reported: 2018-06-07 19:45 UTC by Pedro Sampaio
Modified: 2018-06-08 01:20 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Last Closed: 2018-06-08 01:12:21 UTC
Type: ---

Attachments (Terms of Use)

Description Pedro Sampaio 2018-06-07 19:45:25 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Pedro Sampaio 2018-06-07 19:45:34 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.


# bugfix, security, enhancement, newpackage (required)

# testing, stable

# Bug numbers: 1234,9876

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds

# Automatically close bugs when this marked as stable

# Suggest that users restart after update


Additionally, you may opt to use the bodhi web interface to submit updates:


Comment 2 Michael Catanzaro 2018-06-08 01:12:21 UTC
This is a duplicate of CVE-2018-11396.

*** This bug has been marked as a duplicate of bug 1581801 ***

Comment 3 Michael Catanzaro 2018-06-08 01:14:12 UTC

*** This bug has been marked as a duplicate of bug 1581802 ***

Comment 4 Michael Catanzaro 2018-06-08 01:20:27 UTC
Reproducer is:

b1tch3z = window.open("https://www.google.com", "bl1ngbl1ng", "width=250,height=250");
b1tch3z.document.write("<p>~ua b1tch3z</p>");

// https://github.com/undergroundagency
// https://github.com/ldpreload

Backtrace is:

#0  0x00007f7225278fec in session_seems_sane (windows=<optimized out>)
    at ../src/ephy-session.c:833
        url = 0x0
        uri = <optimized out>
        sane = 0
        t = 0x55f3a0b43e00 = {0x55f3a0b67040}
        w = 0x55f3a0b67120 = {0x55f3a1177b90}
        data = 0x55f3a16dad50
        buffer = <optimized out>
        writer = <optimized out>
        w = <optimized out>
        ret = -1
#1  0x00007f7225278fec in save_session_sync (task=0x55f3a1715370 [GTask], source_object=<optimized out>, task_data=<optimized out>, cancellable=<optimized out>) at ../src/ephy-session.c:876
        data = 0x55f3a16dad50
        buffer = <optimized out>
        writer = <optimized out>
        w = <optimized out>
        ret = -1
#2  0x00007f7224772937 in g_task_thread_pool_thread (thread_data=0x55f3a1715370, pool_data=<optimized out>) at gtask.c:1331
        task = 0x55f3a1715370 [GTask]
#3  0x00007f7224afb933 in g_thread_pool_thread_proxy (data=<optimized out>)
    at gthreadpool.c:307
        task = 0x55f3a1715370
        pool = 0x7f71f8001ba0
#4  0x00007f7224afaf2a in g_thread_proxy (data=0x55f3a1667680) at gthread.c:784
        thread = 0x55f3a1667680
        __func__ = "g_thread_proxy"
#5  0x00007f721d40e594 in start_thread (arg=<optimized out>)
    at pthread_create.c:463
        pd = <optimized out>
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140125904402176, 5452651478893192296, 140721089925406, 140721089925407, 140721089925536, 140721089925536, -5383912463950420888, -5381925658964663192}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007f722359700f in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

This is identical to the backtrace posted at https://bugzilla.gnome.org/show_bug.cgi?id=795740#c5.

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