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 > September 2005 > Gentoo - Two Security Advisories

September 2005

Gentoo - Two Security Advisories

ID: 00832
Ref: 775/05
Date: 26 September 2005:16:28:08
Version: 1

Title: Gentoo - Two Security Advisories
Abstract: 1. Mantis: XSS and SQL injection vulnerabilities [GLSA 200509-16] , 2. Webmin, Usermin: Remote code execution through PAM authentication [GLSA 200509-17]
Vendors affected: Gentoo
Operating systems affected: Gentoo
Applications affected: Gentoo


Title
=====

Gentoo - Two Security Advisories:
1. Mantis: XSS and SQL injection vulnerabilities [GLSA 200509-16]
2. Webmin, Usermin: Remote code execution through PAM authentication [GLSA 200509-17]


Detail
======

Security advisory summaries:

1. Mantis fails to properly sanitize untrusted input before using it. This
leads to an SQL injection and several cross-site scripting
vulnerabilities.

2. If Webmin or Usermin is configured to use full PAM conversations, it is
vulnerable to the remote execution of arbitrary code with root
privileges.


Security advisory content follows:


1.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200509-16
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Mantis: XSS and SQL injection vulnerabilities
Date: September 24, 2005
Bugs: #103308
ID: 200509-16

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

Synopsis
========

Mantis is affected by an SQL injection and several cross-site scripting
(XSS) vulnerabilities.

Background
==========

Mantis is a web-based bugtracking system written in PHP.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/mantisbt < 0.19.2 >= 0.19.2

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

Mantis fails to properly sanitize untrusted input before using it. This
leads to an SQL injection and several cross-site scripting
vulnerabilities.

Impact
======

An attacker could possibly use the SQL injection vulnerability to
access or modify information from the Mantis database. Furthermore the
cross-site scripting issues give an attacker the ability to inject and
execute malicious script code or to steal cookie-based authentication
credentials, potentially compromising the victim's browser.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Mantis users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/mantisbt-0.19.2"

References
==========

[ 1 ] CAN-2005-2556
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2556
[ 2 ] CAN-2005-2557
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2557
[ 3 ] Secunia Advisory SA16506
http://secunia.com/advisories/16506/

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

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

http://security.gentoo.org/glsa/glsa-200509-16.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 200509-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: Webmin, Usermin: Remote code execution through PAM
authentication
Date: September 24, 2005
Bugs: #106705
ID: 200509-17

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

Synopsis
========

If Webmin or Usermin is configured to use full PAM conversations, it is
vulnerable to the remote execution of arbitrary code with root
privileges.

Background
==========

Webmin and Usermin are web-based system administration consoles. Webmin
allows an administrator to easily configure servers and other features.
Usermin allows users to configure their own accounts, execute commands,
and read e-mails.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-admin/webmin < 1.230 >= 1.230
2 app-admin/usermin < 1.160 >= 1.160
-------------------------------------------------------------------
2 affected packages on all of their supported architectures.
-------------------------------------------------------------------

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

Keigo Yamazaki discovered that the miniserv.pl webserver, used in both
Webmin and Usermin, does not properly validate authentication
credentials before sending them to the PAM (Pluggable Authentication
Modules) authentication process. The default configuration shipped with
Gentoo does not enable the "full PAM conversations" option and is
therefore unaffected by this flaw.

Impact
======

A remote attacker could bypass the authentication process and run any
command as the root user on the target server.

Workaround
==========

Do not enable "full PAM conversations" in the Authentication options of
Webmin and Usermin.

Resolution
==========

All Webmin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/webmin-1.230"

All Usermin users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/usermin-1.160"

References
==========

[ 1 ] CAN-2005-3042
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-3042
[ 2 ] Original Advisory

http://www.lac.co.jp/business/sns/intelligence/SNSadvisory_e/83_e.html

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

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

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