Bug 2115234 (CVE-2022-31109) - CVE-2022-31109 laminas-diactoros: HTTP host header attack
Summary: CVE-2022-31109 laminas-diactoros: HTTP host header attack
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-31109
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2115235
Blocks: 2113808
TreeView+ depends on / blocked
 
Reported: 2022-08-04 08:15 UTC by TEJ RATHI
Modified: 2022-08-31 19:55 UTC (History)
1 user (show)

Fixed In Version: laminas-diactoros 2.11.1
Clone Of:
Environment:
Last Closed: 2022-08-31 19:55:19 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-08-04 08:15:13 UTC
laminas-diactoros is a PHP package containing implementations of the PSR-7 HTTP message interfaces and PSR-17 HTTP message factory interfaces. Applications that use Diactoros, and are either not behind a proxy, or can be accessed via untrusted proxies, can potentially have the host, protocol, and/or port of a `Laminas\Diactoros\Uri` instance associated with the incoming server request modified to reflect values from `X-Forwarded-*` headers. Such changes can potentially lead to XSS attacks (if a fully-qualified URL is used in links) and/or URL poisoning.

https://github.com/laminas/laminas-diactoros/commit/25b11d422c2e5dad868f68619888763b30f91e2d
https://github.com/laminas/laminas-diactoros/security/advisories/GHSA-8274-h5jp-97vr
https://portswigger.net/web-security/host-header

Comment 1 TEJ RATHI 2022-08-04 08:15:31 UTC
Created php-laminas-diactoros tracking bugs for this issue:

Affects: fedora-all [bug 2115235]

Comment 2 Product Security DevOps Team 2022-08-31 19:55:18 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.


Note You need to log in before you can comment on or make changes to this bug.