Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
    • Risk Management Delivery Group
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > December 2005 > Three Gentoo Linux Security Advisories: 1. GLSA 200512-07 - OpenLDAP, Gauche: RUNPATH issues 2. GLSA 200512-09 - cURL: Off-by-one errors in URL handling 3. GLSA 200512-10 - Opera: Command-line URL shell command injection

December 2005

Three Gentoo Linux Security Advisories: 1. GLSA 200512-07 - OpenLDAP, Gauche: RUNPATH issues 2. GLSA 200512-09 - cURL: Off-by-one errors in URL handling 3. GLSA 200512-10 - Opera: Command-line URL shell command injection

ID: 01110
Ref: 1042/2005
Date: 20 December 2005:09:05:22
Version: 1

Title: Three Gentoo Linux Security Advisories: 1. GLSA 200512-07 - OpenLDAP, Gauche: RUNPATH issues 2. GLSA 200512-09 - cURL: Off-by-one errors in URL handling 3. GLSA 200512-10 - Opera: Command-line URL shell command injection
Abstract:
Vendors affected: Gentoo
Operating systems affected: Gentoo
Applications affected: Gentoo

Title
=====

Three Gentoo Linux Security Advisories:

1. GLSA 200512-07 - OpenLDAP, Gauche: RUNPATH issues

2. GLSA 200512-09 - cURL: Off-by-one errors in URL handling

3. GLSA 200512-10 - Opera: Command-line URL shell command injection

Detail
======

1. Gentoo packaging for OpenLDAP and Gauche may introduce insecure paths
into the list of directories that are searched for libraries at
runtime.

2. Stefan Esser from the Hardened-PHP Project has reported a vulnerability
in cURL that allows for a local buffer overflow when cURL attempts to
parse specially crafted URLs. The URL can be specially crafted in one
of two ways: the URL could be malformed in a way that prevents a
terminating null byte from being added to either a hostname or path
buffer; or the URL could contain a "?" separator in the hostname
portion, which causes a "/" to be prepended to the resulting string.

3. Peter Zelezny discovered that the shell script used to launch Opera
parses shell commands that are enclosed within backticks in the URL
provided via the command line.



1.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200512-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Low
Title: OpenLDAP, Gauche: RUNPATH issues
Date: December 15, 2005
Bugs: #105380, #112577
ID: 200512-07

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

Synopsis
========

OpenLDAP and Gauche suffer from RUNPATH issues that may allow users in
the "portage" group to escalate privileges.

Background
==========

OpenLDAP is a suite of LDAP-related application and development tools.
Gauche is an R5RS Scheme interpreter.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-nds/openldap < 2.2.28-r3 >= 2.2.28-r3
*>= 2.1.30-r6
2 dev-lang/gauche < 0.8.6-r1 >= 0.8.6-r1
-------------------------------------------------------------------
2 affected packages on all of their supported architectures.
-------------------------------------------------------------------

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

Gentoo packaging for OpenLDAP and Gauche may introduce insecure paths
into the list of directories that are searched for libraries at
runtime.

Impact
======

A local attacker, who is a member of the "portage" group, could create
a malicious shared object in the Portage temporary build directory that
would be loaded at runtime by a dependent binary, potentially resulting
in privilege escalation.

Workaround
==========

Only grant "portage" group rights to trusted users.

Resolution
==========

All OpenLDAP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose net-nds/openldap

All Gauche users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/gauche-0.8.6-r1"

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

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

http://security.gentoo.org/glsa/glsa-200512-07.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


2.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200512-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Low
Title: cURL: Off-by-one errors in URL handling
Date: December 16, 2005
Bugs: #114710
ID: 200512-09

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

Synopsis
========

cURL is vulnerable to local arbitrary code execution via buffer
overflow due to the insecure parsing of URLs.

Background
==========

cURL is a command line tool for transferring files with URL syntax,
supporting numerous protocols.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-misc/curl < 7.15.1 >= 7.15.1

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

Stefan Esser from the Hardened-PHP Project has reported a vulnerability
in cURL that allows for a local buffer overflow when cURL attempts to
parse specially crafted URLs. The URL can be specially crafted in one
of two ways: the URL could be malformed in a way that prevents a
terminating null byte from being added to either a hostname or path
buffer; or the URL could contain a "?" separator in the hostname
portion, which causes a "/" to be prepended to the resulting string.

Impact
======

An attacker capable of getting cURL to parse a maliciously crafted URL
could cause a denial of service or execute arbitrary code with the
privileges of the user making the call to cURL. An attacker could also
escape open_basedir or safe_mode pseudo-restrictions when exploiting
this problem from within a PHP program when PHP is compiled with
libcurl.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All cURL users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.15.1"

References
==========

[ 1 ] CVE-2005-4077
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4077
[ 2 ] Hardened-PHP Advisory
http://www.hardened-php.net/advisory_242005.109.html

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

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

http://security.gentoo.org/glsa/glsa-200512-09.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



3.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200512-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Opera: Command-line URL shell command injection
Date: December 18, 2005
Bugs: #113239
ID: 200512-10

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

Synopsis
========

Lack of URL validation in Opera command-line wrapper could be abused to
execute arbitrary commands.

Background
==========

Opera is a multi-platform web browser.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-client/opera < 8.51 >= 8.51

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

Peter Zelezny discovered that the shell script used to launch Opera
parses shell commands that are enclosed within backticks in the URL
provided via the command line.

Impact
======

A remote attacker could exploit this vulnerability by enticing a user
to follow a specially crafted URL from a tool that uses Opera to open
URLs, resulting in the execution of arbitrary commands on the targeted
machine.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Opera users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-client/opera-8.51"

References
==========

[ 1 ] CVE-2005-3750
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3750
[ 2 ] Opera 8.51 Changelog
http://www.opera.com/docs/changelogs/linux/851/

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

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

http://security.gentoo.org/glsa/glsa-200512-10.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
  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |