Skip to content

Commit c9a545d

Browse files
1 parent 683edb6 commit c9a545d

1 file changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-hv78-cwp4-8r7r",
4+
"modified": "2026-03-31T22:22:18Z",
5+
"published": "2026-03-31T22:22:18Z",
6+
"aliases": [
7+
"CVE-2025-32957"
8+
],
9+
"summary": "baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE)",
10+
"details": "### Details\nThe application's restore function allows users to upload a `.zip` file, which is then automatically extracted. A PHP file inside the archive is included using `require_once` without validating or restricting the filename. An attacker can craft a malicious PHP file within the zip and achieve arbitrary code execution when it is included.\n\nVector: Malicious ZIP upload + insecure `require_once`\n\n### PoC\n1. Restore backup\n ![image](https://github.com/user-attachments/assets/9e59768a-4a8e-472d-aaef-5d54546080f6)\n1. Load file shell (insecure `require_once`)\n ![image](https://github.com/user-attachments/assets/8f7919a2-c7f3-4ae1-af6c-1b0057e4ba22)\n ![image](https://github.com/user-attachments/assets/c10ef049-459d-429e-a608-8fb220c3387f)\n\n### Impact\nRemote Code Execution (RCE)",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Packagist",
21+
"name": "baserproject/basercms"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "5.2.3"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 5.2.2"
38+
}
39+
}
40+
],
41+
"references": [
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/baserproject/basercms/security/advisories/GHSA-hv78-cwp4-8r7r"
45+
},
46+
{
47+
"type": "ADVISORY",
48+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-32957"
49+
},
50+
{
51+
"type": "WEB",
52+
"url": "https://basercms.net/security/JVN_20837860"
53+
},
54+
{
55+
"type": "PACKAGE",
56+
"url": "https://github.com/baserproject/basercms"
57+
},
58+
{
59+
"type": "WEB",
60+
"url": "https://github.com/baserproject/basercms/releases/tag/5.2.3"
61+
}
62+
],
63+
"database_specific": {
64+
"cwe_ids": [
65+
"CWE-434"
66+
],
67+
"severity": "HIGH",
68+
"github_reviewed": true,
69+
"github_reviewed_at": "2026-03-31T22:22:18Z",
70+
"nvd_published_at": "2026-03-31T01:16:34Z"
71+
}
72+
}

0 commit comments

Comments
 (0)