Description
I believe that some tests are broken, at least they throw the same exception in both pico-wavsep and wavsep docker images.
This is how to reproduce:
- Install docker
- Install docker-compose
- Run WAVSEP inside docker with MySQL inside a docker container:
git@github.com:andresriancho/wavsep.git
cd wavsep
docker-compose up
HTTP Status 500 - Exception details: java.lang.IllegalArgumentException:
URI has an authority component
type Status report
message Exception details: java.lang.IllegalArgumentException:
URI has an authority component
description The server encountered an internal error that prevented it from
fulfilling this request.
The console log shows:
wavsep_1 | Default Target File (Prior to Concat): content.ini
wavsep_1 | Default Base Path (Prior to Concat): file://usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/
wavsep_1 | Default Target File: content.ini
wavsep_1 | Default Base Path: file://usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/
wavsep_1 |
wavsep_1 |
wavsep_1 |
wavsep_1 | Final Relative Access:/active/LFI/LFI-Detection-Evaluation-GET-500Error/content.ini
wavsep_1 | Final Full Access:/usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/content.ini
wavsep_1 | Target File: content.ini
wavsep_1 |
wavsep_1 | File:file://usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/content.ini
wavsep_1 | prefix:/usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/
wavsep_1 | File to access:/usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/file://usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/content.ini
wavsep_1 | Current Absultoe File Path: /usr/local/tomcat/webapps/.
wavsep_1 | Current Canonical Dir Path: /usr/local/tomcat/webapps
The most interesting part seems to be (note the file:// which I never sent):
File to access:/usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/file://usr/local/tomcat/webapps/wavsep/active/LFI/LFI-Detection-Evaluation-GET-500Error/content.ini
Versions
- Apache Tomcat/7.0.63
- jre8
Questions
- Is this really a bug?
- Maybe it was something designed to work on Windows?
- If WAVSEP was buggy, how did some scanners find a vulnerability here?
Description
I believe that some tests are broken, at least they throw the same exception in both
pico-wavsepandwavsepdocker images.This is how to reproduce:
The console log shows:
The most interesting part seems to be (note the file:// which I never sent):
Versions
Questions