ayesh/wordpress-comment-form-csrf
Composer 安装命令:
composer require ayesh/wordpress-comment-form-csrf
包简介
Prevent Cross-Site Request Forgery attacks on your comments form.
README 文档
README
=== Comment Form CSRF Protection === Contributors: ayeshrajans Tags: comments, spam, security, csrf Requires at least: 4.2 Tested up to: 6.3 Stable tag: 1.4 Requires PHP: 7.1 License: GPLv2 or later Prevent Cross-Site Request Forgery attacks on your comments form. == Description == 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! 1. This plugin adds a secret cryptographically-secure token to the comment form. This is a unique value and is computationally impractical to guess it. 2. Upon comment submission, the comment is rejected if the secret tokens are not present or computationally invalid. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. 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. == Changelog == = 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
ayesh/wordpress-comment-form-csrf 适用场景与选型建议
ayesh/wordpress-comment-form-csrf 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 02 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ayesh/wordpress-comment-form-csrf 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ayesh/wordpress-comment-form-csrf 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-02-21