CVE-2023-45815

Source
https://cve.org/CVERecord?id=CVE-2023-45815
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45815.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-45815
Aliases
Published
2023-10-19T21:05:11.466Z
Modified
2026-07-15T01:48:54.247304658Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
ArchiveBox: Viewing wget extractor output while logged in as an admin allows archived JS to execute in the admins context
Details

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 of your archive.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45815.json",
    "cna_assigner": "GitHub_M",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "0.9.0"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/archivebox/archivebox

Affected ranges

Type
GIT
Repo
https://github.com/archivebox/archivebox
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:archivebox:archivebox:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.6.2"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.2
v0.0.3
v0.1.0
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.4.11
v0.4.12
v0.4.13
v0.4.14
v0.4.15
v0.4.16
v0.4.17
v0.4.18
v0.4.19
v0.4.20
v0.4.21
v0.4.24
v0.4.9
v0.5.3
v0.5.4
v0.5.6
v0.6.2
v0.7.0
v0.7.1
v0.7.2
v0.8.0-rc
v0.8.2-rc
v0.8.3-rc
v0.8.4-rc
v0.8.5-rc
v0.8.5rc10
v0.8.5rc11
v0.8.5rc12
v0.8.5rc13
v0.8.5rc2
v0.8.5rc22
v0.8.5rc23
v0.8.5rc24
v0.8.5rc25
v0.8.5rc26
v0.8.5rc27
v0.8.5rc28
v0.8.5rc29
v0.8.5rc3
v0.8.5rc30
v0.8.5rc31
v0.8.5rc32
v0.8.5rc33
v0.8.5rc34
v0.8.5rc35
v0.8.5rc36
v0.8.5rc37
v0.8.5rc38
v0.8.5rc39
v0.8.5rc4
v0.8.5rc40
v0.8.5rc41
v0.8.5rc42
v0.8.5rc43
v0.8.5rc44
v0.8.5rc45
v0.8.5rc46
v0.8.5rc47
v0.8.5rc48
v0.8.5rc49
v0.8.5rc5
v0.8.5rc50
v0.8.5rc51
v0.8.5rc53
v0.8.5rc6
v0.8.5rc8
v0.8.5rc9
v0.8.6rc0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45815.json"