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

pixelimity – Cross-Site Scripting (XSS) in "admin/portfolio.php" #21

Open
qianxiao996 opened this issue Mar 22, 2021 · 1 comment
Open

Comments

@qianxiao996
Copy link

Product: pixelimity
Download: https://github.com/pixelimity/pixelimity/
Vunlerable Version: latest version
Tested Version: latest version
Author:qianxiao996

Description: Pixelimity CMS is prone to a Persistent Cross-Site Scripting attack that allows a malicious user to inject HTML or scripts that can access any cookies, session tokens, or other sensitive information retained by your browser and used with that site.

Advisory Details:
A Cross-Site Scripting (XSS) was discovered in “portfolio latest version”, which can be exploited to execute arbitrary code.
The vulnerability exist due to insufficient filtration of user-supplied data in the “data%5Bsite_name%5D” HTTP POST parameter passed to the “/admin/setting.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Proof of concept:
1、Login as admin.
2、Locate URL - http://127.0.0.39/pixelimity/admin/portfolio.php and click on "Setting"
3、Put XSS payload in the "data%5Bsite_name%5D" parameter Pixelimity"><script>alert(1)</script> and click on "Save Setting"
image
image
image

@Tibinsunny
Copy link

I am gonna take a quick look at this issue.
Hope I'll find a fix 🤗

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

2 participants