id: CVE-2023-6553 info: name: Worpress Backup Migration <= 1.3.7 - Unauthenticated Remote Code Execution author: FLX severity: critical description: | The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.3.7 via the /includes/backup-heart.php file. This is due to an attacker being able to control the values passed to an include, and subsequently leverage that to achieve remote code execution. This makes it possible for unauthenticated threat actors to easily execute code on the server. reference: - https://www.wordfence.com/blog/2023/12/critical-unauthenticated-remote-code-execution-found-in-backup-migration-plugin/ - https://github.com/Chocapikk/CVE-2023-6553 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2023-6553 metadata: publicwww-query: /wp-content/plugins/backup-backup/ google-query: inurl:"/wp-content/plugins/backup-backup/" tags: cve,cve2023,wp-plugin,rce,unauth,wordpress,wp flow: http(1) && http(2) http: - method: GET path: - "{{BaseURL}}/wp-content/plugins/backup-backup/readme.txt" matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(body, "Backup Migration")' condition: and - method: POST path: - "{{BaseURL}}/wp-content/plugins/backup-backup/includes/backup-heart.php" headers: Content-Dir: "{{rand_text_alpha(10)}}" matchers: - type: dsl dsl: - 'len(body) == 0' - 'status_code == 200' - '!contains(body, "Incorrect parameters")' condition: and # digest: 4a0a00473045022062c5ba179592504a1063c76e21dd8385f2e87b38c07fba1bf46d71e88a46215e022100f4a03b1419dd3813a4a0c4eede8e37ae12e4b97c408fb5be8ae0c3fcf4c1290e:922c64590222798bb761d5b6d8e72950