Skip to content
OpenAdvisories

Weakness (CWE)

CWE-134: Use of Externally-Controlled Format String

Base Draft

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

How to prevent it (3 mitigations)
  1. Requirements

    Choose a language that is not subject to this flaw.

  2. Implementation

    Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings. [REF-116] [REF-117]

  3. Build and Compilation

    Run compilers and linkers with high warning levels, since they may detect incorrect usage.

Source: MITRE CWE-134

185 results · Feed

  • Medium 6.3

    A use of externally-controlled format string vulnerability [CWE-134] vulnerability in Fortinet allows a privileged atta…

  • High 8.4

    ASTEVAL Vulnerable to Maliciously Crafted Format Strings Leading to Sandbox Escape

    ASTEVAL is an evaluator of Python expressions and statements. Prior to version 1.0.6, if an attacker can control the input to the `asteval` library, they can bypass asteval's restrictions and execute arbitrary Python code in the context of the application usi…

  • High 7.2

    A post-authentication format string vulnerability in SonicOS management allows a remote attacker to crash a firewall an…

  • Low 2.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify me…

  • Low 2.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify me…

  • Critical 9.1

    JS - Internal strings in HTTP headers

    The HttpRequest object allows to get the HTTP headers from the server's response after sending the request. The problem is that the returned strings are created directly from the data returned by the server and are not correctly encoded for JavaScript. This a…

  • High 7.7

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers to obtain secret data or modify memory. We have already fixed the vulne…

  • High 7.7

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained user access to obtain secret data or modify memory. We …

  • Low 2.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify me…

  • Low 2.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify me…

  • Low 2.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify me…

  • Low 2.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify me…

  • Critical 9.3

    Format String Injection in Zend Server

    In versions of Zend Server 8.5 and prior to version 9.2 a format string injection was discovered. Reported by Dylan Marino

  • Medium 6.8

    A use of externally-controlled format string in Fortinet FortiAnalyzer versions 7.4.0 through 7.4.3, 7.2.2 through 7.2.…

  • High 7.5

    Junos OS: SRX Series: If DNS traceoptions are configured in a DGA or tunnel detection scenario specific DNS traffic leads to a PFE crash

    A Use of Externally-Controlled Format String vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on SRX Series allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS). If DNS Domain Generation Algorith…

  • Medium 6.3

    OnCell G3470A-LTE Series: Authenticated Format String Errors

    OnCell G3470A-LTE Series firmware versions v1.7.7 and prior have been identified as vulnerable due to accepting a format string from an external source as an argument. An attacker could modify an externally controlled format string to cause a memory leak and …

  • High 8.8

    Actiontec WCB6200Q Cookie Format String Remote Code Execution Vulnerability

    Actiontec WCB6200Q Cookie Format String Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Actiontec WCB6200Q routers. Authentication is not required to exploit this…

  • Critical 9.1

    wifi: iwlwifi: dbg-tlv: ensure NUL termination

    In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: dbg-tlv: ensure NUL termination The iwl_fw_ini_debug_info_tlv is used as a string, so we must ensure the string is terminated correctly before using it.

  • Medium 6.2

    A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through 7.2.5, Fort…

  • Medium 6.2

    A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through 7.2.5, Fort…

  • Low 3.3

    Foxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure Vulnerability

    Foxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader. User interaction is requ…

  • Medium 5.7

    Use of Externally-Controlled Format String vulnerability in Merge DICOM Toolkit C/C++ on Windows. When MC_Open_Associat…

  • High 8.4

    DMitry (Deepmagic Information Gathering Tool) 1.3a has a format-string vulnerability, with a threat model similar to CV…

  • Medium 6.1

    A use of externally-controlled format string vulnerability [CWE-134] in FortiOS version 7.4.1 and below, version 7.2.7 …

  • Medium 6.3

    A use of externally-controlled format string vulnerability [CWE-134] vulnerability in Fortinet allows a privileged atta…

  • High 8.3

    A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.2.0 through 7.2.4, FortiOS 7.0.0 throu…

  • High 8.1

    A format string vulnerability in a function of the IPSec VPN feature in Zyxel ATP series firmware versions from 4.32 th…

  • Medium 5.7

    A format string vulnerability in Zyxel ATP series firmware versions from 4.32 through 5.37 Patch 1, USG FLEX series fir…

  • Critical 9.8
    CVE-2024-23113 Exploited Public exploit EPSS 62%

    A use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0…

    KEV Oct 9, 2024
  • High 7.5

    A format string issue in the Controller 6000's optional diagnostic web interface can be used to write/read from memory,…

  • High 7.0

    A use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10,…

  • High 7.3

    wire-avs remote format string vulnerability

    wire-avs provides Audio, Visual, and Signaling (AVS) functionality sure the secure messaging software Wire. Prior to versions 9.2.22 and 9.3.5, a remote format string vulnerability could potentially allow an attacker to cause a denial of service or possibly e…

  • Critical 9.6

    Format string vulnerability in AT+CTGL command in Motorola MTM5000

    A format string vulnerability exists in Motorola MTM5000 series firmware AT command handler for the AT+CTGL command. An attacker-controllable string is improperly handled, allowing for a write-anything-anywhere scenario. This can be leveraged to obtain arbitr…

  • High 8.8

    ASUS RT-AX88U - externally-controlled format string

    ASUS router RT-AX88U has a vulnerability of using externally controllable format strings within its Advanced Open VPN function. An authenticated remote attacker can exploit the exported OpenVPN configuration to execute an externally-controlled format string a…

  • High 7.2

    ASUS RT-AX55、RT-AX56U_V2 - Format String - 3

    It is identified a format string vulnerability in ASUS RT-AX56U V2’s iperf client function API. This vulnerability is caused by lacking validation for a specific value within its set_iperf3_cli.cgi module. A remote attacker with administrator privilege can ex…

  • High 7.2

    ASUS RT-AX55、RT-AX56U_V2、RT-AC86U - Format String - 2

    It is identified a format string vulnerability in ASUS RT-AX56U V2’s General function API. This vulnerability is caused by lacking validation for a specific value within its apply.cgi module. A remote attacker with administrator privilege can exploit this vul…

  • High 7.2

    ASUS RT-AX55、RT-AX56U_V2 - Format String - 1

    It is identified a format string vulnerability in ASUS RT-AX56U V2. This vulnerability is caused by lacking validation for a specific value within its set_iperf3_svr.cgi module. A remote attacker with administrator privilege can exploit this vulnerability to …

  • High 8.8

    TOTOLINK N200RE V5 Validity_check format string

    A vulnerability classified as critical has been found in TOTOLINK N200RE V5 9.3.5u.6437_B20230519. This affects the function Validity_check. The manipulation leads to format string. It is possible to initiate the attack remotely. The root-cause of the vulnera…

  • Critical 9.8

    ASUS RT-AX56U V2 & RT-AC86U - Format String - 2

    It is identified a format string vulnerability in ASUS RT-AX56U V2 & RT-AC86U. This vulnerability is caused by lacking validation for a specific value when calling cm_processChangedConfigMsg in ccm_processREQ_CHANGED_CONFIG function in AiMesh system. An unaut…

  • High 7.2
    CVE-2023-35086 Public exploit EPSS 39%

    ASUS RT-AX56U V2 & RT-AC86U - Format String -1

    It is identified a format string vulnerability in ASUS RT-AX56U V2 & RT-AC86U. This vulnerability is caused by directly using input as a format string when calling syslog in logmessage_normal function, in the do_detwan_cgi module of httpd. A remote attacker w…