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

PHP Code Execution via change password function #19

Open
KietNA-68 opened this issue Sep 9, 2021 · 2 comments
Open

PHP Code Execution via change password function #19

KietNA-68 opened this issue Sep 9, 2021 · 2 comments

Comments

@KietNA-68
Copy link

KietNA-68 commented Sep 9, 2021

Dear @boiteasite,
I found a security problem can lead to remote code execution in CMSUno version 1.7.2

Description:

sauvePass action in {webroot}/uno/central.php file call to file_put_contents() function to write username to password.php file when user successfully changed password, Becase of filter without ' , " , ; , (), ... the attacker can inject malicious php code into password.php
image

PoC:

Image

image

When submit username and password, php code will be executed
Image

@boiteasite
Copy link
Owner

Hi KietNA,

Thank you very much for this report.
This is fixed ! V1.7.3.

Regards

@KietNA-68
Copy link
Author

Hi KietNA,

Thank you very much for this report.
This is fixed ! V1.7.3.

Regards

Thanks for you reply

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