CVE-2023-32681
Requests Proxy Authorization Header Leak
Description
Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.
INFO
Published Date :
May 26, 2023, 6:15 p.m.
Last Modified :
Sept. 17, 2023, 9:15 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.0
Exploitability Score :
1.6
Public PoC/Exploit Available at Github
CVE-2023-32681 has a 8 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-32681
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python HTML
None
Python Dockerfile
None
CMake Shell Perl C++ C Batchfile CSS Makefile M4 Python
A centralized repository of standalone security patches for open source libraries.
appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability
POC for the CVE-2023-32681
Go Python
None
https://github.com/renovatebot/renovate/discussions/22747
Generate CPG for multiple languages for code and threat analysis
code-analysis cpg joern security codepropertygraph
Dockerfile Python Scala C# TypeScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-32681
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-32681
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Sep. 17, 2023
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202309-08 [No Types Assigned] -
CVE Modified by [email protected]
Jun. 18, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/06/msg00018.html [No Types Assigned] -
CVE Modified by [email protected]
Jun. 04, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/KOYASTZDGQG2BWLSNBPL3TQRL2G7QYNZ/ [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 02, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N Changed Reference Type https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5 No Types Assigned https://github.com/psf/requests/commit/74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5 Patch Changed Reference Type https://github.com/psf/requests/releases/tag/v2.31.0 No Types Assigned https://github.com/psf/requests/releases/tag/v2.31.0 Release Notes Changed Reference Type https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q No Types Assigned https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q Vendor Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/ Mailing List, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:python:requests:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.31.0 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 27, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/AW7HNFGYP44RT3DUDQXG2QT3OEV2PJ7Y/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-32681
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-32681
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.32 }} 0.05%
score
0.70973
percentile