ID CVE-2013-4342
Summary xinetd does not enforce the user and group configuration directives for TCPMUX services, which causes these services to be run as root and makes it easier for remote attackers to gain privileges by leveraging another vulnerability in a service.
References
Vulnerable Configurations
  • Xinetd
    cpe:2.3:a:xinetd:xinetd
  • Red Hat Enterprise Linux 6
    cpe:2.3:o:redhat:enterprise_linux:6
  • Red Hat Enterprise Linux 5
    cpe:2.3:o:redhat:enterprise_linux:5
CVSS
Base: 7.6 (as of 10-10-2013 - 10:30)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-1409.NASL
    description An updated xinetd package that fixes one security issue is now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The xinetd package provides a secure replacement for inetd, the Internet services daemon. xinetd provides access control for all services based on the address of the remote host and/or on time of access, and can prevent denial-of-access attacks. It was found that xinetd ignored the user and group configuration directives for services running under the tcpmux-server service. This flaw could cause the associated services to run as root. If there was a flaw in such a service, a remote attacker could use it to execute arbitrary code with the privileges of the root user. (CVE-2013-4342) Red Hat would like to thank Thomas Swan of FedEx for reporting this issue. All xinetd users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 70327
    published 2013-10-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70327
    title RHEL 5 / 6 : xinetd (RHSA-2013:1409)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_5C34664F2C2B11E387C200215AF774F0.NASL
    description xinetd would execute configured TCPMUX services without dropping privilege to match the service configuration allowing the service to run with same privilege as the xinetd process (root).
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 70299
    published 2013-10-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70299
    title FreeBSD : xinetd -- ignores user and group directives for TCPMUX services (5c34664f-2c2b-11e3-87c2-00215af774f0)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2014-292.NASL
    description xinetd was updated to receive security fixes and a bug fix. Security issues fixed : - CVE-2013-4342 (bnc#844230) - xinetd ignored user and group directives for tcpmux services - CVE-2012-0862 (bnc#762294) - xinetd enabled all services when tcp multiplexing is used Also added support for setting maximum number of open files (bnc#855685).
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75322
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75322
    title openSUSE Security Update : xinetd (openSUSE-SU-2014:0517-1)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-232.NASL
    description It was found that xinetd ignored the user and group configuration directives for services running under the tcpmux-server service. This flaw could cause the associated services to run as root. If there was a flaw in such a service, a remote attacker could use it to execute arbitrary code with the privileges of the root user. (CVE-2013-4342)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 70568
    published 2013-10-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70568
    title Amazon Linux AMI : xinetd (ALAS-2013-232)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-248.NASL
    description Updated xinetd package fixes security vulnerability : It was found that xinetd ignored the user and group configuration directives for services running under the tcpmux-server service. This flaw could cause the associated services to run as root. If there was a flaw in such a service, a remote attacker could use it to execute arbitrary code with the privileges of the root user (CVE-2013-4342).
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 70384
    published 2013-10-11
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70384
    title Mandriva Linux Security Advisory : xinetd (MDVSA-2013:248)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-18243.NASL
    description CVE-2013-4342 xinetd: ignores user and group directives for tcpmux services Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 70406
    published 2013-10-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70406
    title Fedora 19 : xinetd-2.3.15-8.fc19 (2013-18243)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-18241.NASL
    description CVE-2013-4342 xinetd: ignores user and group directives for tcpmux services Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 70405
    published 2013-10-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70405
    title Fedora 20 : xinetd-2.3.15-8.fc20 (2013-18241)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-1409.NASL
    description An updated xinetd package that fixes one security issue is now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The xinetd package provides a secure replacement for inetd, the Internet services daemon. xinetd provides access control for all services based on the address of the remote host and/or on time of access, and can prevent denial-of-access attacks. It was found that xinetd ignored the user and group configuration directives for services running under the tcpmux-server service. This flaw could cause the associated services to run as root. If there was a flaw in such a service, a remote attacker could use it to execute arbitrary code with the privileges of the root user. (CVE-2013-4342) Red Hat would like to thank Thomas Swan of FedEx for reporting this issue. All xinetd users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 70344
    published 2013-10-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70344
    title CentOS 5 / 6 : xinetd (CESA-2013:1409)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2013-1409.NASL
    description From Red Hat Security Advisory 2013:1409 : An updated xinetd package that fixes one security issue is now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The xinetd package provides a secure replacement for inetd, the Internet services daemon. xinetd provides access control for all services based on the address of the remote host and/or on time of access, and can prevent denial-of-access attacks. It was found that xinetd ignored the user and group configuration directives for services running under the tcpmux-server service. This flaw could cause the associated services to run as root. If there was a flaw in such a service, a remote attacker could use it to execute arbitrary code with the privileges of the root user. (CVE-2013-4342) Red Hat would like to thank Thomas Swan of FedEx for reporting this issue. All xinetd users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 70326
    published 2013-10-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70326
    title Oracle Linux 5 / 6 : xinetd (ELSA-2013-1409)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_XINETD-140313.NASL
    description The multiplexing system xinetd was updated to fix security issues and a bug. Security issues fixed : - xinetd ignores user and group directives for tcpmux services. (CVE-2013-4342) - xinetd enables all services when tcp multiplexing is used. Bug fixed:. (CVE-2012-0862) - Services started by xinetd were limited to 1024 open file descriptors. (bnc#855685)
    last seen 2019-02-21
    modified 2014-04-01
    plugin id 73287
    published 2014-04-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=73287
    title SuSE 11.3 Security Update : xinetd (SAT Patch Number 9021)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20131007_XINETD_ON_SL5_X.NASL
    description It was found that xinetd ignored the user and group configuration directives for services running under the tcpmux-server service. This flaw could cause the associated services to run as root. If there was a flaw in such a service, a remote attacker could use it to execute arbitrary code with the privileges of the root user. (CVE-2013-4342)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 70365
    published 2013-10-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70365
    title Scientific Linux Security Update : xinetd on SL5.x, SL6.x i386/x86_64
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2014-0871-1.NASL
    description Xinetd receives a LTSS roll-up update to fix two security issues. - CVE-2012-0862: xinetd enabled all services when tcp multiplexing is used. - CVE-2013-4342: xinetd ignored user and group directives for tcpmux services, running services as root. While both issues are not so problematic on their own, in combination the impact is greater and enabling tcpmux would be risky. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2019-01-02
    plugin id 83631
    published 2015-05-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83631
    title SUSE SLES10 / SLES11 Security Update : xinetd (SUSE-SU-2014:0871-1)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201611-06.NASL
    description The remote host is affected by the vulnerability described in GLSA-201611-06 (xinetd: Privilege escalation) Xinetd does not enforce the user and group configuration directives for TCPMUX services, which causes these services to be run as root. Impact : Attackers could escalate privileges outside of the running process. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2016-11-15
    plugin id 94890
    published 2016-11-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=94890
    title GLSA-201611-06 : xinetd: Privilege escalation
redhat via4
advisories
bugzilla
id 1006100
title CVE-2013-4342 xinetd: ignores user and group directives for tcpmux services
oval
OR
  • AND
    • comment xinetd is earlier than 2:2.3.14-39.el6_4
      oval oval:com.redhat.rhsa:tst:20131409005
    • comment xinetd is signed with Red Hat redhatrelease2 key
      oval oval:com.redhat.rhsa:tst:20130499006
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhsa:tst:20100842001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhsa:tst:20100842002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20100842003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20100842004
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhsa:tst:20070055001
    • comment xinetd is earlier than 2:2.3.14-20.el5_10
      oval oval:com.redhat.rhsa:tst:20131409008
    • comment xinetd is signed with Red Hat redhatrelease key
      oval oval:com.redhat.rhsa:tst:20131302003
rhsa
id RHSA-2013:1409
released 2013-10-07
severity Moderate
title RHSA-2013:1409: xinetd security update (Moderate)
rpms
  • xinetd-2:2.3.14-39.el6_4
  • xinetd-2:2.3.14-20.el5_10
refmap via4
confirm
gentoo GLSA-201611-06
Last major update 10-10-2013 - 13:19
Published 09-10-2013 - 20:55
Last modified 30-06-2017 - 21:29
Back to Top