dropplets icon indicating copy to clipboard operation
dropplets copied to clipboard

Security - "submit-template.php" is Open to HTTP Requests

Open jptksc opened this issue 13 years ago • 1 comments

Same as "submit-settings.php", anyone with a little know-how could change your template on your Dropplets installation.

jptksc avatar Apr 22 '13 23:04 jptksc

I'd suggest that a new function be introduced called is_authenticated(), then the if check could be updated to:

if ($_POST["submit"] == "submit" && is_authenticated())

The is_authenticated() function would check for the presence of a cookie that is set to the hashed value of the user's password.

pippinsplugins avatar Apr 23 '13 00:04 pippinsplugins