FKIE_CVE-2024-45416

Vulnerability from fkie_nvd - Published: 2024-09-16 21:15 - Updated: 2026-06-17 07:54
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.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    },
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ],
  "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."
    }
  ],
  "id": "CVE-2024-45416",
  "lastModified": "2026-06-17T07:54:10.587",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "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"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 5.9,
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2024-45416",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2024-09-18T15:01:15.235979Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2024-09-16T21:15:46.003",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-829"
        }
      ],
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary"
    }
  ]
}


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…