Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-42353

Опубликовано: 14 авг. 2024
Источник: redhat
CVSS3: 6.1

Описание

WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. urlparse however treats a // at the start of a string as a URI without a scheme, and then treats the next part as the hostname. urljoin will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.

A vulnerability was found in the WebOb package. WebOb normalizes the HTTP Location header using urlparse and urljoin. If the URL starts with //, urlparse treats the following part as the hostname, and replaces the original request's hostname. This issue, combined with user interaction, may become a vulnerability.

Меры по смягчению последствий

If the Response class is used, any HTTP Location header (i.e. location) can be rewritten so that it always passes a full URI that includes the hostname to redirect the user to.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Ceph Storage 4python-webobOut of support scope
Red Hat Ceph Storage 5python-webobAffected
Red Hat Ceph Storage 6python-webobAffected
Red Hat Ceph Storage 8python-webobAffected
Red Hat Enterprise Linux 6python-webobOut of support scope
Red Hat Enterprise Linux 7python-webobOut of support scope
Red Hat Openshift Container Storage 4python-webobAffected
Red Hat OpenStack Platform 16.1python-webobOut of support scope
Red Hat OpenStack Platform 16.2python-webobAffected
Red Hat Quay 3quay/quay-rhel8Affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-601
https://bugzilla.redhat.com/show_bug.cgi?id=2305004webob: WebOb's location header normalization during redirect leads to open redirect

6.1 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.1
ubuntu
11 месяцев назад

WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. `urlparse` however treats a `//` at the start of a string as a URI without a scheme, and then treats the next part as the hostname. `urljoin` will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.

CVSS3: 6.1
nvd
11 месяцев назад

WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. `urlparse` however treats a `//` at the start of a string as a URI without a scheme, and then treats the next part as the hostname. `urljoin` will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.

CVSS3: 6.1
msrc
10 месяцев назад

Описание отсутствует

CVSS3: 6.1
debian
11 месяцев назад

WebOb provides objects for HTTP requests and responses. When WebOb nor ...

suse-cvrf
10 месяцев назад

Security update for python-WebOb

6.1 Medium

CVSS3