cve.bz

CAPEC-69

Target Programs with Elevated Privileges

Very High severityHigh likelihoodStandard pattern

This attack targets programs running with elevated privileges. The adversary tries to leverage a vulnerability in the running program and get arbitrary code to execute with elevated privileges.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-69: Target Programs with Elevated Privileges: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/69.html and https://cve.bz/cve/capec/69?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

How the attack unfolds

  1. Explore

    The attacker looks for a way in.

    1. [Find programs with elevated priveleges] The adversary probes for programs running with elevated privileges.

      1 technique
      • 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.
    2. [Find vulnerability in running program] The adversary looks for a vulnerability in the running program that would allow for arbitrary code execution with the privilege of the running program.

      3 techniques
      • Look for improper input validation
      • Look for improper failure safety. For instance when a program fails it may authorize restricted access to anyone.
      • Look for a buffer overflow which may be exploited if an adversary can inject unvalidated data.
  2. Exploit

    They carry out the attack.

    1. [Execute arbitrary code] The adversary exploits the vulnerability that they have found. For instance, they can try to inject and execute arbitrary code or write to OS resources.

Prerequisites

  • The targeted program runs with elevated OS privileges.

  • The targeted program accepts input data from the user or from another program.

  • The targeted program is giving away information about itself. Before performing such attack, an eventual attacker may need to gather information about the services running on the host target. The more the host target is verbose about the services that are running (version number of application, etc.) the more information can be gather by an attacker.

  • This attack often requires communicating with the host target services directly. For instance Telnet may be enough to communicate with the host target.

Skills required

  • Low skill

    An attacker can use a tool to scan and automatically launch an attack against known issues. A tool can also repeat a sequence of instructions and try to brute force the service on the host target, an example of that would be the flooding technique.

  • Medium skill

    More advanced attack may require knowledge of the protocol spoken by the host service.

Signs of an attack

  • The log can have a trace of abnormal activity. Also if abnormal activity is detected on the host target. For instance flooding should be seen as abnormal activity and the target host may decide to take appropriate action in order to mitigate the attack (data filtering or blocking). Resource exhaustion is also a sign of abnormal activity.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Execute Unauthorized CommandsConfidentiality, Integrity, AvailabilityRun Arbitrary Code
Gain PrivilegesConfidentiality, Access Control, Authorization
Resource ConsumptionAvailabilityDenial of Service

Mitigations

  • Apply the principle of least privilege.

  • Validate all untrusted data.

  • Apply the latest patches.

  • Scan your services and disable the ones which are not needed and are exposed unnecessarily. Exposing programs increases the attack surface. Only expose the services which are needed and have security mechanisms such as authentication built around them.

  • Avoid revealing information about your system (e.g., version of the program) to anonymous users.

  • Make sure that your program or service fail safely. What happen if the communication protocol is interrupted suddenly? What happen if a parameter is missing? Does your system have resistance and resilience to attack? Fail safely when a resource exhaustion occurs.

  • If possible use a sandbox model which limits the actions that programs can take. A sandbox restricts a program to a set of privileges and commands that make it difficult or impossible for the program to cause any damage.

  • Check your program for buffer overflow and format String vulnerabilities which can lead to execution of malicious code.

  • Monitor traffic and resource usage and pay attention if resource exhaustion occurs.

  • Protect your log file from unauthorized modification and log forging.

Weaknesses it exploits

  • CWE-15 External Control of System or Configuration Setting
  • CWE-250 Execution with Unnecessary Privileges

Recent CVEs with these weaknesses

  1. 6.7CVE-2026-126796

    A LibreOffice Writer document can contain its own database. When the document was opened, that database was registered in the user's settings under a name the document chose, replacing any database the user had registered under that name. …

  2. 7.8CVE-2026-131818

    ChargePoint Home Flex busybox Unnecessary Privileges Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of ChargePoint Home Flex EV chargers. An attacker mus…

  3. 7.8CVE-2026-80285

    Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains an Execution with Unnecessary Privileges vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, lea…

  4. 8.3CVE-2026-134792

    When the proxy option isn't set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignores HTTP_PROXY, because PHP puts the Proxy request header there (the httpoxy issue). On the CLI SA…

  5. 2.1CVE-2026-135814

    A vulnerability has been found in zhblue hustoj up to 26.08.19. This impacts an unknown function of the file trunk/core/judged/judged.cc of the component Judge Daemon Sandbox. The manipulation leads to execution with unnecessary privileges…

  6. 9.1CVE-2026-123172

    Solarwinds Serv-U is affected by a privilege escalation vulnerability that, when exploited, could lead to the escalation of privileges to root for Linux installations. The risk is lower for Windows installations.

  7. 4.9CVE-2026-133860

    An issue in Kibana allows Elasticsearch transforms in directly uploaded integration packages to run with Kibana's internal system identity instead of the installing user's privileges. A user with Integrations: All and Agent policies: All p…

  8. 7.8CVE-2026-130164

    Hermes Agent is an open-source autonomous AI agent built by Nous Research for running tool-using workflows across CLI, desktop, and messaging interfaces. From 0.21.6 to 0.23.1, when Bot Desktop is hosted inside a non-local terminal backend…

The newest records naming one of them. Each weakness's page lists them all.

Part of
Can lead to
  • CAPEC-8 Buffer Overflow in an API Call
  • CAPEC-9 Buffer Overflow in Local Command-Line Utilities
  • CAPEC-10 Buffer Overflow via Environment Variables
  • CAPEC-67 String Format Overflow in syslog()

MITRE's words, unchanged: CAPEC-69 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.