uniba-ktr / dokuwiki Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Hi,
I'm a security researcher. Thank you for providing this useful docker image! After I set it up, I found your docker image disclose some sensitive directories and files to the public:
/inc/
/bin/
/vendor/
/bin/.htaccess
/inc/.htaccess
/vendor/.htaccess
/data/.htaccess
/vendor/splitbrain/php-archive/phpunit.xml
/vendor/composer/installed.json
/lib/plugins/authad/lang/eu/settings.php
To make things worse, TRACE, PUT and DELETE http methods on these files are open to outside, which means they can be arbitrarily changed by outside attackers if they want.
These files should not be exposed as warned in https://www.dokuwiki.org/security.
bin/
directory contains executables that may be exploited by attackers if they get its contents..htaccess
files can be used in web-based exploitation, as mentioned here. They use this file to hide malware, to redirect search engines to their own sites, and for many other purposes (hide backdoors, inject content, modify the php.ini values, etc).phpunit.xml
is for unit testing. You should not leave them on a live production server. (ref)composer/installed.json
expose config info. (ref)Would it be better to block these accesses in your docker image? Thanks!
Best,
-ct
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.