Bug 2150632 (CVE-2022-46391)

Summary: CVE-2022-46391 awstats: XSS due to improper input checks
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: rpm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A Cross-site-scripting vulnerability was found in AWStats 7.x through 7.8, due to improper input validation in the hostinfo plugin, possibly leading to arbitrary code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-09 13:02:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2150633, 2150634    
Bug Blocks:    

Description ybuenos 2022-12-04 16:29:15 UTC
AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.

Comment 1 ybuenos 2022-12-04 16:33:49 UTC
Created awstats tracking bugs for this issue:

Affects: epel-all [bug 2150634]
Affects: fedora-all [bug 2150633]

Comment 2 Tim Jackson 2022-12-06 21:47:34 UTC
It appears this is the fix: https://github.com/eldy/AWStats/pull/226

Comment 3 Product Security DevOps Team 2022-12-09 13:02:57 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 4 Fedora Update System 2023-01-18 00:37:25 UTC
FEDORA-EPEL-2023-d3f150fc4d has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2023-01-18 00:58:16 UTC
FEDORA-EPEL-2023-ae31777788 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-01-18 01:31:09 UTC
FEDORA-EPEL-2023-f91d2e3281 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.