aioHTTP < 3.9.4 XSS

medium Nessus Plugin ID 193912

Synopsis

A Python library installed on the remote host is affected by a cross-site scripting vulnerability.

Description

The version of aioHTTP installed on the remote host is prior to 3.9.4. It is, therefore, affected by a cross-site scripting (XSS) vulnerability. aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to aioHTTP version 3.9.4 or later.

See Also

http://www.nessus.org/u?7ce3d2e9

Plugin Details

Severity: Medium

ID: 193912

File Name: aiohttp_CVE-2024-27306.nasl

Version: 1.5

Type: local

Agent: unix

Family: Misc.

Published: 4/26/2024

Updated: 11/21/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2024-27306

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:python:aiohttp

Required KB Items: Host/nix/packages, Host/nix/Python/Packages/Enumerated

Exploit Ease: No known exploits are available

Patch Publication Date: 4/18/2024

Vulnerability Publication Date: 4/18/2024

Reference Information

CVE: CVE-2024-27306

IAVB: 2024-B-0043-S