Lucene search
K

WowzaMediaServer StorageDir Constraint Bypass

🗓️ 30 Apr 2013 00:00:00Reported by Michal J.Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 28 Views

WowzaMediaServer StorageDir Constraint Bypass issue reported and possible workaround

Code
`Product: Wowza Media Server  
URL: http://www.wowza.com/  
Description: WMS is a quite popular RTMP/HLS/HDS/RTSP streaming server  
  
Issue:  
  
In early 2009 I reported problem with processing of requests with  
relative paths.  
  
The issue surfaced again.  
  
In a nutshell, you can escape Applications StorageDir using relative  
path.  
  
Lets say you have two applications:  
  
* vod1 with /usr/local/WowzaMediaServer/content1/ as StorageDir  
* vod2 with /usr/local/WowzaMediaServer/content2/ as StorageDir  
  
Requesting to play `mp4:../content1/file.mp4` from `vod2` will work  
just fine thus bypassing configured StorageDir.  
  
Possible workarounds:  
  
* Implement custom module that supplies either  
`IMediaStreamNameAliasProvider2` or `IMediaStreamFileMapper` override  
which blocks requests falling outside configured `StorageDir`  
* Use StreamNameAlias module to block requests with relative paths  
* Upgrade to Wowza 3.5.2.06 (patch that hopefully fixes this issue)  
* Don't use predictable paths  
  
Timeline:  
  
* 2013-04-06 Wowza Media Services contacted about this issue  
* 2013-04-08 Wowza acknowledges this bug, no further info received  
* 2013-04-30 Public release due to vendor's non-cooperation  
  
M.  
--  
Michal J. <wejn(at)box.cz>  
"I honestly think it is better to be a failure at something you love  
than to be a success at something you hate..." -- George Burns  
`

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