Bug 81518 (CVE-2005-1391) - VUL-0: CVE-2005-1391: pound buffer overflow
Summary: VUL-0: CVE-2005-1391: pound buffer overflow
Status: RESOLVED FIXED
Alias: CVE-2005-1391
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL:
Whiteboard: CVE-2005-1391: CVSS v2 Base Score: 7....
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-02 07:10 UTC by Ludwig Nussel
Modified: 2021-11-04 16:08 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
pound-1.8.2-CAN-2005-1391.diff (1.34 KB, patch)
2005-06-03 10:08 UTC, Ludwig Nussel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2005-05-02 07:10:18 UTC
We received the following report via full-disclosure.
The issue is public.

Date: Sat, 30 Apr 2005 16:33:46 +0200
From: Thierry Carrez <koon@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Cc: full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com,
	security-alerts@linuxsecurity.com
Subject: [Full-disclosure] [ GLSA 200504-29 ] Pound: Buffer overflow
	vulnerability

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200504-29
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Pound: Buffer overflow vulnerability
      Date: April 30, 2005
      Bugs: #90851
        ID: 200504-29

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Pound is vulnerable to a buffer overflow that could lead to the remote
execution of arbitrary code.

Background
==========

Pound is a reverse proxy, load balancer and HTTPS front-end.

Affected packages
=================

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  www-servers/pound       < 1.8.3                          >= 1.8.3

Description
===========

Steven Van Acker has discovered a buffer overflow vulnerability in the
"add_port()" function in Pound.

Impact
======

A remote attacker could send a request for an overly long hostname
parameter, which could lead to the remote execution of arbitrary code
with the rights of the Pound daemon process (by default, Gentoo uses
the "nobody" user to run the Pound daemon).

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Pound users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-servers/pound-1.8.3"

References
==========

  [ 1 ] Original announcement

http://www.apsis.ch/pound/pound_list/archive/2005/2005-04/1114516112000

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200504-29.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0




_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Comment 1 Ludwig Nussel 2005-05-09 11:39:59 UTC
Please tell us whether we are affected and if so start fixing the package. 
http://w3d.suse.de/Dev/Components/Packages/PackMan/pm_pr_fixing_bug.html#pm_pr_fb_bt_security_bugs 
Comment 2 Marcus Meissner 2005-06-03 09:04:06 UTC
ping 
Comment 3 Joachim Werner 2005-06-03 09:32:36 UTC
Pound is on 9.2 and 9.3.  
  
I'd suggest to update to 1.9 for both. I don't expect any compatibility issues 
with that. 
 
 
Comment 4 Ludwig Nussel 2005-06-03 10:05:50 UTC
Did you actually look at the code? It's a one line fix, no version update for 
that one. 
Comment 5 Ludwig Nussel 2005-06-03 10:08:09 UTC
Created attachment 38585 [details]
pound-1.8.2-CAN-2005-1391.diff

stripped diff 1.8.2->1.8.3. Only the last hunk is the security fix
(CAN-2005-1391). The first two are bugfixes and probably make sense.

The -1 is not needed in snprintf but upsteam fixed it that way.
Comment 6 Ludwig Nussel 2005-06-03 10:10:19 UTC
SM-Tracker-1456 
Comment 7 Joachim Werner 2005-06-05 21:22:29 UTC
I've submitted the version update for STABLE. 
 
Verified with author that the one-line patch is all we need to fix the issue. 
 
I'll submit patched packages for SL 9.2/9.3. aj doesn't want the version 
upgrade for those. 
Comment 8 Joachim Werner 2005-06-05 21:53:30 UTC
Submitted packages for SL 9.2/9.3. I did mbuild both on the corresponding 
distro, but it wouldn't hurt if someone double-checked if the packages are ok, 
as this is my first security fix. ;-) 
Comment 9 Ludwig Nussel 2005-06-06 06:56:45 UTC
The sad truth is that noone is going to test it. 
Comment 10 Ludwig Nussel 2005-06-09 08:08:30 UTC
packages released  
Comment 11 Thomas Biege 2009-10-13 21:20:33 UTC
CVE-2005-1391: CVSS v2 Base Score: 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)