Closed mmmds closed 5 years ago
Requested URL is improperly displayed on the About page. The problem occurs on default configuration in Cherokee and Cheroke administrator panel. XSS in administrator panel can be used to reconfigure the server and execute arbitrary commands.
http://127.0.0.1/about/"><script>alert(1)</script> http://127.0.0.1:9090/about/"><script>alert(1)</script>
ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes LDFLAGS="-lasan" LDADD="-lasan" CFLAGS="-fsanitize=address -ggdb -O0 -fprofile-arcs -ftest-coverage" ./configure --prefix=`pwd`/bin --enable-trace --enable-static-module=all --enable-static --enable-shared=no make
mkdir /var/www/test{1..20}; for i in
; do echo test > test$i/test.html; done
found by: Mateusz Kocielski, Michał Dardas from LogicalTrust
@mmmds Thanks for doing the research on our code and reporting the issue. I have committed a patch and qa-test to our master branch.
Requested URL is improperly displayed on the About page. The problem occurs on default configuration in Cherokee and Cheroke administrator panel. XSS in administrator panel can be used to reconfigure the server and execute arbitrary commands.
PoC
Setup:
mkdir /var/www/test{1..20}; for i in
seq 1 20; do echo test > test$i/test.html; done
found by: Mateusz Kocielski, Michał Dardas from LogicalTrust