Mô tả
WordPress has a 12-year-old unfixed security vulnerability that it does not properly validate incoming comments.
An attacker can trick both anonymous and logged-in users to post comments on a victim site without them realizing, while using their own credentials.
See this issue for more information: https://core.trac.wordpress.org/ticket/10931
This is a tiny (fewer than 40 effect lines of code) module that adds a secure token to the comment form and validate it before accepting any comment, thus making your comment forms secure as they should\’ve been for all these years!
It provides no UI – just install it, and you are all set!
- This plugin adds a secret cryptographically-secure token to the comment form. This is a unique value and is computationally impractical to guess it.
- Upon comment submission, the comment is rejected if the secret tokens are not present or computationally invalid.
Ảnh màn hình
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- You are all set! There is nothing to configure. Your comment forms will contain the hidden token fields that will be properly validated upon submission.
Đánh giá
Người đóng góp & Lập trình viên
“Comment Form CSRF Protection” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Comment Form CSRF Protection” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0
- Initial release.
1.1
This is a minor release that contains minimal changes.
- Marks the plugin as tested up-to WordPress 5.3
- Fix in
composer.json
file that it required PHP^7.2 instead of intended ^7.1 - A micro optimization in the plugin to call the lambda function directly within the CSRF check.
1.4
Minor release that contains several typo fixes and WordPress 6.3 compatibility