Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2023-45857 EUVD-2023-3051GHSA-wf5p-g6vw-rhxx

Axios Cross-Site Request Forgery Vulnerability

Published Nov 8, 2023 · Updated Sep 4, 2024 · Assigned by mitre

Description

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-axios 1.6.2+dfsg-1 —
Debian 13 node-axios 1.6.2+dfsg-1 —
Debian 12 node-axios 1.2.1+dfsg-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-axios No fix yet —
Ubuntu 25.10 node-axios No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS node-axios No fix yet —
Ubuntu Pro 24.04 LTS node-axios No fix yet —
Ubuntu Pro 22.04 LTS node-axios No fix yet —
Ubuntu Pro 20.04 LTS node-axios No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 receptor +1 1.4.5-1.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform Developer 2 receptor +1 1.4.5-1.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.5.5-2.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 python-aiohttp +1 3.9.3-1.el9ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 python-django +1 4.2.11-1.el9ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 python39-aiohttp +1 3.9.3-1.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 python39-django +1 4.2.11-1.el8ap RHSA-2024:1640
Red Hat Ansible Automation Platform 2 receptor +1 1.4.5-1.el8ap RHSA-2024:1640

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm axios >= 1.0.0, < 1.6.0 1.6.0 GHSA-wf5p-g6vw-rhxx
npm axios >= 0.8.1, < 0.28.0 0.28.0 GHSA-wf5p-g6vw-rhxx

Advisories 6

References