p PatchFirst

CVE-2023-45815

CVE-2023-45815 · ArchiveBox: Viewing wget extractor output while logged in as an admin allows archived JS to execute in the admins context

This page contains facts from public vulnerability sources. Check the original advisory before updating.

ArchiveBox is an open source self-hosted web archiving system. Any users who are using the `wget` extractor and view the content it outputs. The impact is potentially severe if you are logged in to the ArchiveBox admin site in the same browser session and view an archived malicious page designed to target your ArchiveBox instance. Malicious Javascript could potentially act using your logged-in admin credentials and add/remove/modify snapshots, add/remove/modify ArchiveBox users, and generally do anything an admin user could do. The impact is less severe for non-logged-in users, as malicious Javascript cannot *modify* any archives, but it can still *read* all the other archived content by fetching the snapshot index and iterating through it. Because all of ArchiveBox's archived content is served from the same host and port as the admin panel, when archived pages are viewed the JS executes in the same context as all the other archived pages (and the admin panel), defeating most of the browser's usual CORS/CSRF security protections and leading to this issue. Version 0.9.0 contains a patch. As a mitigation for this issue would be to disable the wget extractor by setting `archivebox config --set SAVE_WGET=False`, ensure you are always logged out, or serve only a [static HTML version](https://github.com/ArchiveBox/ArchiveBox/wiki/Publishing-Your-Archive#2-export-and-host-it-as-static-html) of your archive.

CVSS 6.4 · Medium · EPSS 0.8% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • archivebox

    Versions
    • < 0.9.0: Affected

    No fix published

  • archivebox PyPI

    Versions
    • 0.4.11
    • 0.4.12
    • 0.4.13
    • 0.4.14
    • 0.4.15
    • 0.4.16
    • 0.4.17
    • 0.4.18
    • 0.4.19
    • 0.4.20
    • 0.4.21
    • 0.4.6
    • 0.4.8
    • 0.4.9
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.5.3
    • 0.5.4
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.4
    • 0.8.5rc0
    • 0.8.5rc1
    • 0.8.5rc10
    • 0.8.5rc11
    • 0.8.5rc12
    • 0.8.5rc13
    • 0.8.5rc14
    • 0.8.5rc15
    • 0.8.5rc16
    • 0.8.5rc17
    • 0.8.5rc18
    • 0.8.5rc2
    • 0.8.5rc20
    • 0.8.5rc21
    • 0.8.5rc22
    • 0.8.5rc23
    • 0.8.5rc24
    • 0.8.5rc25
    • 0.8.5rc26
    • 0.8.5rc27
    • 0.8.5rc28
    • 0.8.5rc29
    • 0.8.5rc3
    • 0.8.5rc30
    • 0.8.5rc31
    • 0.8.5rc32
    • 0.8.5rc33
    • 0.8.5rc34
    • 0.8.5rc35
    • 0.8.5rc36
    • 0.8.5rc37
    • 0.8.5rc38
    • 0.8.5rc39
    • 0.8.5rc4
    • 0.8.5rc40
    • 0.8.5rc41
    • 0.8.5rc42
    • 0.8.5rc43
    • 0.8.5rc44
    • 0.8.5rc45
    • 0.8.5rc46
    • 0.8.5rc47
    • 0.8.5rc48
    • 0.8.5rc49
    • 0.8.5rc5
    • 0.8.5rc50
    • 0.8.5rc51
    • 0.8.5rc6
    • 0.8.5rc8
    • 0.8.5rc9
    • 0.8.6rc3
    Affected ranges
    • ECOSYSTEM: < 0.9.0

    Update to 0.9.0

  • archivebox PyPI

    Versions
    • 0.4.11
    • 0.4.12
    • 0.4.13
    • 0.4.14
    • 0.4.15
    • 0.4.16
    • 0.4.17
    • 0.4.18
    • 0.4.19
    • 0.4.20
    • 0.4.21
    • 0.4.6
    • 0.4.8
    • 0.4.9
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.5.3
    • 0.5.4
    • 0.6.0
    • 0.6.1
    • 0.6.2
    Affected ranges
    • ECOSYSTEM: < 0.7.0

    Update to 0.7.0

Original sources

Check your server →