9.8
CRITICAL
CVE-2024-39227
GL-iNet Router Shell Injection Vulnerability
Description

GL-iNet products AR750/AR750S/AR300M/AR300M16/MT300N-V2/B1300/MT1300/SFT1200/X750 v4.3.11, MT3000/MT2500/AXT1800/AX1800/A1300/X300B v4.5.16, XE300 v4.3.16, E750 v4.3.12, AP1300/S1300 v4.3.13, and XE3000/X3000 v4.4 were discovered to contain insecure permissions in the endpoint /cgi-bin/glc. This vulnerability allows unauthenticated attackers to execute arbitrary code or possibly a directory traversal via crafted JSON data.

INFO

Published Date :

Aug. 6, 2024, 5:15 p.m.

Last Modified :

Aug. 15, 2024, 4:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-39227 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gl-inet mt6000_firmware
2 Gl-inet mt6000
3 Gl-inet a1300_firmware
4 Gl-inet a1300
5 Gl-inet x300b_firmware
6 Gl-inet x300b
7 Gl-inet ax1800_firmware
8 Gl-inet ax1800
9 Gl-inet axt1800_firmware
10 Gl-inet axt1800
11 Gl-inet mt2500_firmware
12 Gl-inet mt2500
13 Gl-inet mt3000_firmware
14 Gl-inet mt3000
15 Gl-inet x3000_firmware
16 Gl-inet x3000
17 Gl-inet xe3000_firmware
18 Gl-inet xe3000
19 Gl-inet xe300_firmware
20 Gl-inet xe300
21 Gl-inet e750_firmware
22 Gl-inet e750
23 Gl-inet x750_firmware
24 Gl-inet x750
25 Gl-inet sft1200_firmware
26 Gl-inet sft1200
27 Gl-inet ar300m_firmware
28 Gl-inet ar300m
29 Gl-inet ar300m16_firmware
30 Gl-inet ar300m16
31 Gl-inet ar750_firmware
32 Gl-inet ar750
33 Gl-inet ar750s_firmware
34 Gl-inet ar750s
35 Gl-inet b1300_firmware
36 Gl-inet b1300
37 Gl-inet mt1300_firmware
38 Gl-inet mt1300
39 Gl-inet mt300n-v2_firmware
40 Gl-inet mt300n-v2
41 Gl-inet ap1300_firmware
42 Gl-inet ap1300
43 Gl-inet b2200_firmware
44 Gl-inet b2200
45 Gl-inet mv1000_firmware
46 Gl-inet mv1000
47 Gl-inet mv1000w_firmware
48 Gl-inet mv1000w
49 Gl-inet usb150_firmware
50 Gl-inet usb150
51 Gl-inet sf1200_firmware
52 Gl-inet sf1200
53 Gl-inet n300_firmware
54 Gl-inet n300
55 Gl-inet s1300_firmware
56 Gl-inet s1300
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-39227.

URL Resource
https://github.com/gl-inet/CVE-issues/blob/main/4.0.0/Access%20to%20the%20C%20library%20without%20logging%20in.md Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-39227 vulnerability anywhere in the article.

  • Cybersecurity News
GL-iNet Routers Exposed to Critical Vulnerabilities: Urgent Firmware Updates Required

GL-iNet has recently issued a security advisory addressing multiple critical vulnerabilities in several of their router models. The vulnerabilities, tracked under CVE-2024-39225 through CVE-2024-39229 ... Read more

Published Date: Aug 11, 2024 (4 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-39227 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Aug. 15, 2024

    Action Type Old Value New Value
    Changed Description GL-iNet products AR750/AR750S/AR300M/AR300M16/MT300N-V2/B1300/MT1300/SFT1200/X750 v4.3.11, MT3000/MT2500/AXT1800/AX1800/A1300/X300B v4.5.16, XE300 v4.3.16, E750 v4.3.12, AP1300/S1300 v4.3.13, and XE3000/X3000 v4.4 were discovered to contain a shell injection vulnerability via the interface check_ovpn_client_config. GL-iNet products AR750/AR750S/AR300M/AR300M16/MT300N-V2/B1300/MT1300/SFT1200/X750 v4.3.11, MT3000/MT2500/AXT1800/AX1800/A1300/X300B v4.5.16, XE300 v4.3.16, E750 v4.3.12, AP1300/S1300 v4.3.13, and XE3000/X3000 v4.4 were discovered to contain insecure permissions in the endpoint /cgi-bin/glc. This vulnerability allows unauthenticated attackers to execute arbitrary code or possibly a directory traversal via crafted JSON data.
    Removed Reference MITRE http://ar750ar750sar300mar300m16mt300n-v2b1300mt1300sft1200x750.com
  • Initial Analysis by [email protected]

    Aug. 12, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://ar750ar750sar300mar300m16mt300n-v2b1300mt1300sft1200x750.com No Types Assigned http://ar750ar750sar300mar300m16mt300n-v2b1300mt1300sft1200x750.com Broken Link
    Changed Reference Type https://github.com/gl-inet/CVE-issues/blob/main/4.0.0/Access%20to%20the%20C%20library%20without%20logging%20in.md No Types Assigned https://github.com/gl-inet/CVE-issues/blob/main/4.0.0/Access%20to%20the%20C%20library%20without%20logging%20in.md Exploit, Third Party Advisory
    Added CWE NIST CWE-74
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mt6000_firmware:4.5.8:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mt6000:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:a1300_firmware:4.5.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:a1300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:x300b_firmware:4.5.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:x300b:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:ax1800_firmware:4.5.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:ax1800:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:axt1800_firmware:4.5.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:axt1800:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mt2500_firmware:4.5.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mt2500:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mt3000_firmware:4.5.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mt3000:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:x3000_firmware:4.4.8:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:x3000:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:xe3000_firmware:4.4.8:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:xe3000:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:xe300_firmware:4.3.16:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:xe300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:e750_firmware:4.3.12:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:e750:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:x750_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:x750:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:sft1200_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:sft1200:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:ar300m_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:ar300m:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:ar300m16_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:ar300m16:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:ar750_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:ar750:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:ar750s_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:ar750s:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:b1300_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:b1300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mt1300_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mt1300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mt300n-v2_firmware:4.3.11:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mt300n-v2:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:ap1300_firmware:3.217:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:ap1300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:b2200_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:b2200:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mv1000_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mv1000:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:mv1000w_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:mv1000w:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:usb150_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:usb150:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:sf1200_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:sf1200:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:n300_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:n300:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:gl-inet:s1300_firmware:3.216:*:*:*:*:*:*:* OR cpe:2.3:h:gl-inet:s1300:-:*:*:*:*:*:*:*
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 07, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-75
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Received by [email protected]

    Aug. 06, 2024

    Action Type Old Value New Value
    Added Description GL-iNet products AR750/AR750S/AR300M/AR300M16/MT300N-V2/B1300/MT1300/SFT1200/X750 v4.3.11, MT3000/MT2500/AXT1800/AX1800/A1300/X300B v4.5.16, XE300 v4.3.16, E750 v4.3.12, AP1300/S1300 v4.3.13, and XE3000/X3000 v4.4 were discovered to contain a shell injection vulnerability via the interface check_ovpn_client_config.
    Added Reference MITRE http://ar750ar750sar300mar300m16mt300n-v2b1300mt1300sft1200x750.com [No types assigned]
    Added Reference MITRE https://github.com/gl-inet/CVE-issues/blob/main/4.0.0/Access%20to%20the%20C%20library%20without%20logging%20in.md [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-39227 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-39227 weaknesses.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-6: Argument Injection Argument Injection CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-28: Fuzzing Fuzzing CAPEC-34: HTTP Response Splitting HTTP Response Splitting CAPEC-42: MIME Conversion MIME Conversion CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-51: Poison Web Service Registry Poison Web Service Registry CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-67: String Format Overflow in syslog() String Format Overflow in syslog() CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-72: URL Encoding URL Encoding CAPEC-76: Manipulating Web Input to File System Calls Manipulating Web Input to File System Calls CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic Using UTF-8 Encoding to Bypass Validation Logic CAPEC-83: XPath Injection XPath Injection CAPEC-84: XQuery Injection XQuery Injection CAPEC-101: Server Side Include (SSI) Injection Server Side Include (SSI) Injection CAPEC-105: HTTP Request Splitting HTTP Request Splitting CAPEC-108: Command Line Execution through SQL Injection Command Line Execution through SQL Injection CAPEC-120: Double Encoding Double Encoding CAPEC-135: Format String Injection Format String Injection CAPEC-250: XML Injection XML Injection CAPEC-267: Leverage Alternate Encoding Leverage Alternate Encoding CAPEC-273: HTTP Response Smuggling HTTP Response Smuggling CAPEC-81: Web Server Logs Tampering Web Server Logs Tampering CAPEC-93: Log Injection-Tampering-Forging Log Injection-Tampering-Forging
CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability