Giter VIP home page Giter VIP logo

docker-dokuwiki's People

Contributors

zhonger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-dokuwiki's Issues

Risky data exposed to public access

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/

To make things worse, 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.

  • The bin/ directory contains executables that may be exploited by attackers if they get its contents.

Would it be better to block these accesses in your docker image? Thanks!

Best,
-ct

mount destination [ not absolute: unknown.

Hi,
when i create the container, the docker gives the following error:

docker: Error response from daemon: failed to create shim: OCI runtime create failed: invalid mount {Destination:[ Type:bind Source:/docker/app/volumes/0848ec46c970b30b2b209ea2dda8cb57f5bff3c0264f39b28b64aca80b54207a/_data Options:[rbind]}: mount destination [ not absolute: unknown.

This looks like moby/moby#42480

But when i tried to build the image with modified DockerFile

-VOLUME [ '/opt/data' ]
+VOLUME [ "/opt/data" ]

the build failed...

Here is my docker version:

docker version

Client:
Version: 20.10.7
API version: 1.41
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu1~18.04.1
Built: Wed Aug 4 22:43:25 2021
OS/Arch: linux/amd64
Context: default
Experimental: true

Server:
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.13.8
Git commit: 20.10.7-0ubuntu118.04.1
Built: Wed Aug 4 19:22:59 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.2-0ubuntu1
18.04.2
GitCommit:
runc:
Version: 1.0.0rc95-0ubuntu118.04.2
GitCommit:
docker-init:
Version: 0.19.0
GitCommit:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.