Vulnerabilities > CVE-2015-8107 - Use of Externally-Controlled Format String vulnerability in GNU A2Ps 4.14
Attack vector
LOCAL Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Format string vulnerability in GNU a2ps 4.14 allows remote attackers to execute arbitrary code.
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Format String Injection An attacker includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An attacker can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the attacker can write to the program stack.
- String Format Overflow in syslog() This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
Nessus
NASL family | FreeBSD Local Security Checks |
NASL id | FREEBSD_PKG_E359051D90BD11E5BD18002590263BF5.NASL |
description | Jong-Gwon Kim reports : When user runs a2ps with malicious crafted pro(a2ps prologue) file, an attacker can execute arbitrary code. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 86999 |
published | 2015-11-23 |
reporter | This script is Copyright (C) 2015-2018 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/86999 |
title | FreeBSD : a2ps -- format string vulnerability (e359051d-90bd-11e5-bd18-002590263bf5) |
code |
|