Vulnerabilities > CVE-2017-6553 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Quest Privilege Manager FOR Unix

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
quest
CWE-119
critical
exploit available
metasploit

Summary

Buffer Overflow in Quest One Identity Privilege Manager for Unix before 6.0.0.061 allows remote attackers to obtain full access to the policy server via an ACT_ALERT_EVENT request that causes memory corruption in the pmmasterd daemon.

Vulnerable Configurations

Part Description Count
Application
Quest
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionQuest Privilege Manager - pmmasterd Buffer Overflow (Metasploit). CVE-2017-6553. Remote exploit for Linux platform. Tags: Metasploit Framework
fileexploits/linux/remote/42010.rb
idEDB-ID:42010
last seen2017-05-16
modified2017-05-15
platformlinux
port
published2017-05-15
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/42010/
titleQuest Privilege Manager - pmmasterd Buffer Overflow (Metasploit)
typeremote

Metasploit

descriptionThis modules exploits a buffer overflow in the Quest Privilege Manager, a software used to integrate Active Directory with Linux and Unix systems. The vulnerability exists in the pmmasterd daemon, and can only triggered when the host has been configured as a policy server ( Privilege Manager for Unix or Quest Sudo Plugin). A buffer overflow condition exists when handling requests of type ACT_ALERT_EVENT, where the size of a memcpy can be controlled by the attacker. This module only works against version < 6.0.0-27. Versions up to 6.0.0-50 are also vulnerable, but not supported by this module (a stack cookie bypass is required). NOTE: To use this module it is required to be able to bind a privileged port ( <=1024 ) as the server refuses connections coming from unprivileged ports, which in most situations means that root privileges are required.
idMSF:EXPLOIT/LINUX/MISC/QUEST_PMMASTERD_BOF
last seen2020-06-10
modified2017-08-18
published2017-04-05
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/misc/quest_pmmasterd_bof.rb
titleQuest Privilege Manager pmmasterd Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/142492/quest_pmmasterd_bof.rb.txt
idPACKETSTORM:142492
last seen2017-05-13
published2017-05-13
reporterm0t
sourcehttps://packetstormsecurity.com/files/142492/Quest-Privilege-Manager-pmmasterd-Buffer-Overflow.html
titleQuest Privilege Manager pmmasterd Buffer Overflow