ID CVE-2012-3417
Summary The good_client function in rquotad (rquota_svc.c) in Linux DiskQuota (aka quota) before 3.17 invokes the hosts_ctl function the first time without a host name, which might allow remote attackers to bypass TCP Wrappers rules in hosts.deny.
References
Vulnerable Configurations
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre5:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre5:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre4:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre4:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.02:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.02:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:2.0:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.09:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.09:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre2:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre2:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.03:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.03:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre3:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre3:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre6:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre6:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre7:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre7:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre8:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre8:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre9:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.01:pre9:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.04:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.04:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.05:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.05:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.06:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.06:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.07:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.07:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.08:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.08:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.10:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.10:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.11:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.11:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.12:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.12:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.13:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.13:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.14:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.14:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.15:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.15:*:*:*:*:*:*:*
  • cpe:2.3:a:jan_kara:linux_diskquota:3.16:*:*:*:*:*:*:*
    cpe:2.3:a:jan_kara:linux_diskquota:3.16:*:*:*:*:*:*:*
CVSS
Base: 4.0 (as of 13-02-2023 - 04:34)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Manipulating Web 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.
  • 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.
  • Using Malicious 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.
  • 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.
  • 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.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL NONE
cvss-vector via4 AV:N/AC:H/Au:N/C:P/I:P/A:N
redhat via4
advisories
bugzilla
id 667360
title 4TB
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331005
    • comment quota is earlier than 1:3.13-8.el5
      oval oval:com.redhat.rhsa:tst:20130120001
    • comment quota is signed with Red Hat redhatrelease key
      oval oval:com.redhat.rhsa:tst:20130120002
rhsa
id RHSA-2013:0120
released 2013-01-08
severity Low
title RHSA-2013:0120: quota security and bug fix update (Low)
rpms
  • quota-1:3.13-8.el5
  • quota-debuginfo-1:3.13-8.el5
refmap via4
confirm
misc https://bugzilla.redhat.com/show_bug.cgi?id=566717
mlist
  • [oss-security] 20120719 CVE Request: quota: incorrect use of tcp_wrappers
  • [oss-security] 20120719 Re: CVE Request: quota: incorrect use of tcp_wrappers
suse openSUSE-SU-2012:1058
Last major update 13-02-2023 - 04:34
Published 13-08-2012 - 20:55
Last modified 13-02-2023 - 04:34
Back to Top