CVE-2024-45416 (GCVE-0-2024-45416)

Vulnerability from cvelistv5 – Published: 2024-09-16 00:00 – Updated: 2024-09-18 15:18
VLAI?
Summary
The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session_init function. The session -LUA- files are stored in the directory /var/lua_session, the function iterates on all files in this directory and executes them using the function dofile without any validation if it is a valid session file or not. An attacker who is able to write a malicious file in the sessions directory can get RCE as root.
CWE
  • n/a
Assigner
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_z500_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_z500_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.0.1.1B2.1000"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_e500_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_e500_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.0.1.1B2.1000"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_h108n_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_h108n_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V2.6.20.ROST12"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_e2615_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_e2615_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.0.1"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_e2603_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_e2603_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.0.1"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_e2618_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_e2618_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.0.0.2B4.3000"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_e1600_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_e1600_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.0.0.2B1.1000"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_h338a_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_h338a_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V1.5.0_H3A.1T9P1-o"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_h168n_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_h168n_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "V3.5.5_CO.1T1"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:zte:zxhn_h168a_firmware:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "zxhn_h168a_firmware",
            "vendor": "zte",
            "versions": [
              {
                "status": "affected",
                "version": "TTN.1T1_211029"
              }
            ]
          }
        ],
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 8.1,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-45416",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-18T15:01:15.235979Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-829",
                "description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-18T15:18:27.957Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session_init function. The session -LUA- files are stored in the directory /var/lua_session, the function iterates on all files in this directory and executes them using the function dofile without any validation if it is a valid session file or not. An attacker who is able to write a malicious file in the sessions directory can get RCE as root."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-09-16T20:25:13.971Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "url": "https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2024-45416",
    "datePublished": "2024-09-16T00:00:00.000Z",
    "dateReserved": "2024-08-28T00:00:00.000Z",
    "dateUpdated": "2024-09-18T15:18:27.957Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-45416",
      "date": "2026-05-08",
      "epss": "0.00153",
      "percentile": "0.3561"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-45416\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2024-09-16T21:15:46.003\",\"lastModified\":\"2024-09-20T12:31:20.110\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session_init function. The session -LUA- files are stored in the directory /var/lua_session, the function iterates on all files in this directory and executes them using the function dofile without any validation if it is a valid session file or not. An attacker who is able to write a malicious file in the sessions directory can get RCE as root.\"},{\"lang\":\"es\",\"value\":\"El binario HTTPD en varios ZTE routers tiene una vulnerabilidad de inclusi\u00f3n de archivos locales en la funci\u00f3n session_init. Los archivos de sesi\u00f3n -LUA- se almacenan en el directorio /var/lua_session, la funci\u00f3n itera sobre todos los archivos de este directorio y los ejecuta utilizando la funci\u00f3n dofile sin ninguna validaci\u00f3n si es un archivo de sesi\u00f3n v\u00e1lido o no. Un atacante que pueda escribir un archivo malicioso en el directorio sessions puede obtener RCE como superusuario.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.1,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.2,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-829\"}]}],\"references\":[{\"url\":\"https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/\",\"source\":\"cve@mitre.org\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8.1, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-45416\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-18T15:01:15.235979Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:o:zte:zxhn_z500_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_z500_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.0.1.1B2.1000\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_e500_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_e500_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.0.1.1B2.1000\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_h108n_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_h108n_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V2.6.20.ROST12\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_e2615_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_e2615_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.0.1\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_e2603_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_e2603_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.0.1\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_e2618_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_e2618_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.0.0.2B4.3000\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_e1600_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_e1600_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.0.0.2B1.1000\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_h338a_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_h338a_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V1.5.0_H3A.1T9P1-o\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_h168n_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_h168n_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"V3.5.5_CO.1T1\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:o:zte:zxhn_h168a_firmware:*:*:*:*:*:*:*:*\"], \"vendor\": \"zte\", \"product\": \"zxhn_h168a_firmware\", \"versions\": [{\"status\": \"affected\", \"version\": \"TTN.1T1_211029\"}], \"defaultStatus\": \"unknown\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-829\", \"description\": \"CWE-829 Inclusion of Functionality from Untrusted Control Sphere\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-18T15:18:15.719Z\"}}], \"cna\": {\"affected\": [{\"vendor\": \"n/a\", \"product\": \"n/a\", \"versions\": [{\"status\": \"affected\", \"version\": \"n/a\"}]}], \"references\": [{\"url\": \"https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session_init function. The session -LUA- files are stored in the directory /var/lua_session, the function iterates on all files in this directory and executes them using the function dofile without any validation if it is a valid session file or not. An attacker who is able to write a malicious file in the sessions directory can get RCE as root.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"text\", \"description\": \"n/a\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2024-09-16T20:25:13.971Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-45416\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-18T15:18:27.957Z\", \"dateReserved\": \"2024-08-28T00:00:00.000Z\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"datePublished\": \"2024-09-16T00:00:00.000Z\", \"assignerShortName\": \"mitre\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…