Opened 11 years ago
Closed 11 years ago
#34336 closed defect (bug) (fixed)
Disable XML-RPC system.multicall authenticated requests on the first auth failure
| Reported by: | dd32 | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | XML-RPC | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Recently Securi published a post about a Brute Force Amplification Attack affecting WordPress by using system.multicall.
WordPress should cause XML-RPC authentication to fail on all subsequent multicall calls silently to prevent this attack being viable against WordPress.
The attached patch implements this suggestion, and although it breaks the XML-RPC spec I think we should enforce this.
Multiple user authentications are still possible when using system.multicall, the only catch is that once one fails authentication, all the further attempts will also fail.
Attachments (2)
Change History (10)
#5
@
11 years ago
Thanks for the Unit Tests @johnbillion.
I had to split up test_login_pass_ok to test failing authentication separately as it was relying upon the changed behaviour.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
+1. This is a simple patch that does not break anything, except perhaps the spec. Given the planned changes for REST, this is a good mitigation.