Nginx-UI arbitrary file write through the Import Certificate feature
Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-23827
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:22 UTC · Revision 1
Source evidence
Nginx-UI arbitrary file write through the Import Certificate feature
core-osv · Original sourcePublished 29 Jan 2024, 16:07 UTC
Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.
osv:CVE-2024-23827
Complete source record
{
"id": "fac9df786e82a50a45495433e5283d2f17d2c88951e6765e074c126eec11783a",
"url": "https://osv.dev/vulnerability/CVE-2024-23827",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Nginx-UI arbitrary file write through the Import Certificate feature",
"summary": "Nginx-UI is a web interface to manage Nginx configurations. The Import Certificate feature allows arbitrary write into the system. The feature does not check if the provided user input is a certification/key and allows to write into arbitrary paths in the system. It's possible to leverage the vulnerability into a remote code execution overwriting the config file app.ini. Version 2.0.0.beta.12 fixed the issue.",
"evidence": "osv:CVE-2024-23827",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-23827",
"aliases": [
"CVE-2024-23827",
"GHSA-xvq9-4vpv-227m",
"GO-2024-2481"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/0xjacky/nginx-ui",
"type": "GIT",
"events": [
{
"introduced": "8b60d61b8e54db17590e30b2f21ae6759c9fa89a"
},
{
"fixed": "0381d2290cc3bf309cfb9745f2b930d603e219eb"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.0.beta.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.2.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.0-NA"
},
{
"last_affected": "1.2.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.2.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.1"
},
{
"last_affected": "1.2.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.2.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.2"
},
{
"last_affected": "1.2.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.3.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.0-NA"
},
{
"last_affected": "1.3.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.3.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.0-rc1"
},
{
"last_affected": "1.3.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.3.1:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.1-NA"
},
{
"last_affected": "1.3.1-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.3.1:fix:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.1-fix"
},
{
"last_affected": "1.3.1-fix"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.3.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.2"
},
{
"last_affected": "1.3.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.3.3:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "1.3.3-rc1"
},
{
"last_affected": "1.3.3-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.4.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.0-NA"
},
{
"last_affected": "1.4.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.4.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.0-rc1"
},
{
"last_affected": "1.4.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.4.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.1"
},
{
"last_affected": "1.4.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.4.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.2"
},
{
"last_affected": "1.4.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-NA"
},
{
"last_affected": "1.5.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta1:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta1"
},
{
"last_affected": "1.5.0-beta1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta2:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta2"
},
{
"last_affected": "1.5.0-beta2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta3:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta3"
},
{
"last_affected": "1.5.0-beta3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta4:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta4"
},
{
"last_affected": "1.5.0-beta4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta4_fix:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta4_fix"
},
{
"last_affected": "1.5.0-beta4_fix"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta5:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta5"
},
{
"last_affected": "1.5.0-beta5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta6:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta6"
},
{
"last_affected": "1.5.0-beta6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta7:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta7"
},
{
"last_affected": "1.5.0-beta7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta8:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta8"
},
{
"last_affected": "1.5.0-beta8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.0:beta9:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.0-beta9"
},
{
"last_affected": "1.5.0-beta9"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.1"
},
{
"last_affected": "1.5.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.5.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.5.2"
},
{
"last_affected": "1.5.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.0-NA"
},
{
"last_affected": "1.6.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.0:fix:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.0-fix"
},
{
"last_affected": "1.6.0-fix"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.1"
},
{
"last_affected": "1.6.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.2"
},
{
"last_affected": "1.6.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.3"
},
{
"last_affected": "1.6.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.5"
},
{
"last_affected": "1.6.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.6"
},
{
"last_affected": "1.6.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.7"
},
{
"last_affected": "1.6.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.6.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.6.8"
},
{
"last_affected": "1.6.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-NA"
},
{
"last_affected": "1.7.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.0:patch:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-patch"
},
{
"last_affected": "1.7.0-patch"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.1"
},
{
"last_affected": "1.7.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.2"
},
{
"last_affected": "1.7.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.3"
},
{
"last_affected": "1.7.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.4"
},
{
"last_affected": "1.7.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.5"
},
{
"last_affected": "1.7.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.6"
},
{
"last_affected": "1.7.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.7"
},
{
"last_affected": "1.7.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.8"
},
{
"last_affected": "1.7.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.7.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.9"
},
{
"last_affected": "1.7.9"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.8.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.0"
},
{
"last_affected": "1.8.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.8.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.1"
},
{
"last_affected": "1.8.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.8.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.2"
},
{
"last_affected": "1.8.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.8.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.3"
},
{
"last_affected": "1.8.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.8.4:-:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.4-NA"
},
{
"last_affected": "1.8.4-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.8.4:patch:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8.4-patch"
},
{
"last_affected": "1.8.4-patch"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.9.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.9"
},
{
"last_affected": "1.9.9"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.9.9-1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.9-1"
},
{
"last_affected": "1.9.9-1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.9.9-2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.9-2"
},
{
"last_affected": "1.9.9-2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.9.9-3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.9-3"
},
{
"last_affected": "1.9.9-3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:1.9.9-4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.9-4"
},
{
"last_affected": "1.9.9-4"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.2.0-NA",
"1.2.1",
"1.2.2",
"1.3.0-NA",
"1.3.0-rc1",
"1.3.1-NA",
"1.3.2",
"1.3.3-rc1",
"1.4.0-NA",
"1.4.0-rc1",
"1.4.1",
"1.4.2",
"1.5.0-NA",
"1.5.0-beta1",
"1.5.0-beta2",
"1.5.0-beta3",
"1.5.0-beta4",
"1.5.0-beta5",
"1.5.0-beta6",
"1.5.0-beta7",
"1.5.0-beta8",
"1.5.0-beta9",
"1.5.1",
"1.5.2",
"1.6.0-NA",
"1.6.1",
"1.6.2",
"1.6.3",
"1.6.5",
"1.6.6",
"1.6.7",
"1.6.8",
"1.7.0-NA",
"1.7.1",
"1.7.2",
"1.7.3",
"1.7.4",
"1.7.5",
"1.7.6",
"1.7.7",
"1.7.8",
"1.7.9",
"1.8.0",
"1.8.1",
"1.8.2",
"1.8.3",
"1.8.4-NA",
"1.9.9",
"1.9.9-1",
"1.9.9-2",
"1.9.9-3",
"1.9.9-4",
"v2.0.0-beta.11",
"v2.0.0-beta.10-patch",
"v2.0.0-beta.10",
"v2.0.0-beta.9",
"v2.0.0-beta.8-patch",
"v2.0.0-beta.8",
"v2.0.0-beta.7",
"v2.0.0-beta.6-patch.2",
"v2.0.0-beta.6-patch",
"v2.0.0-beta.6",
"v2.0.0-beta.5-patch",
"v2.0.0-beta.5",
"v2.0.0-beta.4-patch",
"v2.0.0-beta.4",
"v2.0.0-beta.3",
"v2.0.0-beta.2",
"v2.0.0-beta.1",
"v1.9.9-4",
"v1.9.9-3",
"v1.9.9-2",
"v1.9.9",
"v1.9.9-1",
"v1.8.4-patch",
"v1.8.4",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.9",
"v1.7.8",
"v1.7.7",
"v1.7.6",
"v1.7.5",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0-patch",
"v1.7.0",
"v1.6.8",
"v1.6.7",
"v1.6.6",
"v1.6.5",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0-fix",
"v1.6.0",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.5.0-beta9",
"v1.5.0-beta8",
"v1.5.0-beta7",
"v1.5.0-beta6",
"v1.5.0-beta5",
"v1.5.0-beta4-fix",
"v1.5.0-beta4",
"v1.5.0-beta3",
"v1.5.0-beta2",
"v1.5.0-beta1",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.4.0-rc1",
"v1.3.3-rc1",
"v1.3.2",
"v1.3.1-fix",
"v1.3.1",
"v1.3.0",
"v1.3.0-rc1",
"v1.2.2",
"v1.2.1",
"v1.2.0-rc.3",
"v1.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23827.json"
}
}
],
"modified": "2026-10-28T02:30:27.454336604Z",
"provider": "osv",
"references": [
"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xvq9-4vpv-227m",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23827.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-23827"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23827.json"
}
},
"related_cves": [
{
"value": "CVE-2024-23827",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493779,
"published_at": "2024-01-29T16:07:13.953+00:00"
}