Exploit database

Vulnerability

CVE-2016-6253

Vulnerability details

Score
7.8
Severity
high

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

mail.local in NetBSD versions 6.0 through 6.0.6, 6.1 through 6.1.5, and 7.0 allows local users to change ownership of or append data to arbitrary files on the target system via a symlink attack on the user mailbox.

CVE Program

Exploit source choices

3 sources
NetBSD mail.local Privilege Escalation
MSF-unix--local--netbsd_mail_localMetasploitUnix / remote

This module attempts to exploit a race condition in mail.local with SUID bit set on: NetBSD 7.0 - 7.0.1 (verified on 7.0.1) NetBSD 6.1 - 6.1.5 NetBSD 6.0 - 6.0.6 Successful exploitation relies on a crontab job with root privilege, which may take up to 10min to execute.

2016-07-07netbsd_mail_local.rb