Cloudanix VulnDB

CVE-2014-5439

High · 7.8

CVSS

7.8

EPSS

2.5%

Published

Nov 19, 2019

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

An old network-sniffing program can be tricked by a specially made settings file into letting an attacker run their own programs on the computer.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Stack-based buffer overflow in Sniffit that accepts a malicious configuration file, bypassing NX, SSP, and ASLR to achieve arbitrary code execution on the local system.

Why it matters to the business

Attackers who can trick a user into loading a crafted settings file gain full control of the affected host, enabling data theft, persistence, or use as a foothold for further attacks; the package sees limited modern deployment so organizational exposure is generally low but unpatched legacy instances remain risky.

How an attack unfolds

An attacker creates a specially crafted Sniffit configuration file that overflows a stack buffer; the file is opened by a user running the vulnerable binary, the overflow payload bypasses memory protections and executes attacker-supplied code with the privileges of the Sniffit process.

How to fix it

Upgrade Sniffit to version 0.3.7 or later; remove or disable the package on systems where it is no longer required; if upgrade is impossible, restrict execution to trusted users and isolate the binary from untrusted configuration files.

How to confirm the fix worked

Verify the installed version is 0.3.7 or newer using the package manager or binary --version output; scan systems for the presence of the sniffit executable and review any locally stored configuration files for unexpected size or content.

Typical attack path

  1. Attacker prepares a malicious configuration file containing oversized fields and ROP gadgets
  2. Attacker delivers the file to the target via email, shared storage, or web download
  3. User opens the file with the vulnerable Sniffit binary
  4. Overflow occurs, memory protections are bypassed, and attacker code executes
  5. Attacker establishes persistence or performs post-exploitation actions on the host

How to detect it

Review process execution logs and file-access audit trails for invocations of sniffit with non-standard configuration paths; look for unusually large or recently modified .conf files in user home directories or temporary locations that were opened by the binary.

What your security team should do

  • Immediately inventory all systems for the sniffit package and remove it where feasible
  • Block execution of sniffit via application allow-listing or SELinux/AppArmor policies until patched
  • Educate users not to open untrusted configuration files with network-analysis tools
  • Monitor vulnerability feeds for any future Sniffit updates given its age and lack of fixed versions in current distributions

The record

Multiple Stack-based Buffer Overflow vulnerabilities exists in Sniffit prior to 0.3.7 via a crafted configuration file that will bypass Non-eXecutable bit NX, stack smashing protector SSP, and address space layout randomization ASLR protection mechanisms, which could let a malicious user execute arbitrary code.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 sniffit 0 0.3.7.beta-20
Debian:12 sniffit 0 0.3.7.beta-20
Debian:7 sniffit 0 0.3.7.beta-16.1+deb7u1
Ubuntu:14.04:LTS sniffit 0 0.3.7.beta-17+deb8u1build0.14.04.1
Ubuntu:16.04:LTS sniffit 0 0.3.7.beta-19ubuntu0.1

Related vulnerabilities