Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Risky data exposure #1

Open
conf-test opened this issue Apr 16, 2021 · 0 comments
Open

Risky data exposure #1

conf-test opened this issue Apr 16, 2021 · 0 comments

Comments

@conf-test
Copy link

conf-test commented Apr 16, 2021

Hi,

I'm a security researcher and am doing some study of public docker images. I found some misconfigurations in your this image that may expose some risky data at runtime. The exposure I found include:

git:
/extensions/Kartographer/gitinfo.json
/extensions/Math/gitinfo.json
/extensions/Kartographer/.gitignore
/extensions/Kartographer/vendor/justinrainbow/json-schema/.gitattributes
/extensions/Math/.gitignore

phpunit:
/extensions/Kartographer/tests/phpunit/*

vendor:
/extensions/Kartographer/vendor/*
.sql:
/extensions/Math/db/*.sql

Here are some reference about these exposures:
https://iosentrix.com/blog/git-source-code-disclosure-vulnerability/
https://stackoverflow.com/questions/11078572/should-i-use-phpunit-in-a-staging-production-environment
bolt/bolt#375
wp-cli/doctor-command#98

If you want, I can also help fix them. Please let me know what you think. Thanks!

Best,
~cf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant