(Password Confirm Action)

= Context =

Please see [Trac Ticket 20140](https://core.trac.wordpress.org/ticket/20140).

XSS attacks and ‘lunch time raid’ attacks, among others, can allow an attacker to ‘steal’ a log-in session, and act as an authenticated user without knowing that user’s password.
The aim of this plugin is to prevent that user from being able to engineer permanent access to the site. They may attempt to do this by doing one or more of the following:

– Setting the password of the hijacked user to one of their choosing
– Changing the e-mail of the hijacked user
– Creating a new user
– Changing the role of their account to escalate privileges

The plugin prevents the attacker from doing any of these by prompting them for the user’s password.

= Caveat =

Of course by default WordPress allows adminstrative users the ability to install arbitrary plugins and themes, and edit existing plugins/themes through in-built editors. These freedoms
render the above solution impotent. It is outside of the immediate scope of this plugin to password protect those features, though it may be considered at later date.
It’s the advice of the plugin author that you should disable such features in your site’s `wp-config.php` by adding:

define( ‘DISALLOW_FILE_MODS’, true );

as outlined in [https://codex.wordpress.org/Editing_wp-config.php#Disable_plugin_and_Theme_Update_and_Installation](https://codex.wordpress.org/Editing_wp-config.php#Disable_plugin_and_Theme_Update_and_Installation).

**To report bugs or feature requests, please use [Github issues](http://github.com/stephenharris/password-confirm-action/issues).**

= Can I Help? =

**Yes! Please do!**. You could do either of the following:

1. Use the plugin and [report any issues](http://github.com/stephenharris/password-confirm-action/issues).
2. Find an [unassigned issue](http://github.com/stephenharris/password-confirm-action/issues) and start working on it (please make PRs to the develop branch).

If you have an expertise in accessibility I would welcome any suggestions or improvements. Or if you encounter any issues regarding accessibility please do report these.

= A special thanks =

A special thanks to Human Made whose [Require Password](https://github.com/humanmade/hm-require-password) plugin (written by Jenny Wong) served as an inspiration for this plugin.

Concerns or questions?

See our support area where you can find questions asked by our clients and answered by the Tutors Loop's team.
Always here to give you best services

Go to support

By subscribing to our mailing list you will always be updated with the latest news from us.