CVE-2026-5339
Received Received - Intake
Remote Command Injection in Tenda G103 Setting Handler

Publication date: 2026-04-02

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was detected in Tenda G103 1.0.0.5. The impacted element is the function action_set_net_settings of the file gpon.lua of the component Setting Handler. Performing a manipulation of the argument authLoid/authLoidPassword/authPassword/authSerialNo/authType/oltType/usVlanId/usVlanPriority results in command injection. It is possible to initiate the attack remotely. The exploit is now public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-02
Last Modified
2026-04-29
Generated
2026-05-06
AI Q&A
2026-04-02
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
tenda g103_firmware 1.0.0.5
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows authenticated attackers to execute arbitrary commands with root privileges on the Tenda G103 device, potentially leading to full device compromise.

Such a compromise could result in unauthorized access to sensitive data or disruption of device functionality, which may impact compliance with standards and regulations like GDPR or HIPAA that require protection of personal and sensitive information.

However, the provided information does not explicitly detail the direct effects on compliance with these standards.


Can you explain this vulnerability to me?

CVE-2026-5339 is a command injection vulnerability found in the Tenda G103 GPON optical network terminal, specifically in the function action_set_net_settings within the gpon.lua file.

The vulnerability occurs because the authLoid parameter (and related parameters) are not properly sanitized and are directly concatenated into system commands without input validation.

An authenticated attacker can inject arbitrary shell commands by including special shell characters such as backticks, semicolons, or logical operators in the authLoid parameter.

These injected commands are executed with root privileges, potentially allowing the attacker to fully compromise the device.

Exploitation requires a valid session token and authentication cookies, meaning the attacker must be authenticated to the device.


How can this vulnerability impact me? :

This vulnerability allows an authenticated attacker to execute arbitrary system commands with root privileges on the affected Tenda G103 device.

Successful exploitation can lead to full device compromise, including unauthorized control over device settings, data, and network traffic.

Such control could be used to disrupt network operations, intercept or manipulate data, or use the device as a foothold for further attacks within the network.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by attempting to exploit the command injection via the vulnerable parameter `authLoid` in the `action_set_net_settings` function. A proof of concept involves sending a crafted POST request to the endpoint `/cgi-bin/luci/;stok=<session_token>/admin/gpon/set-net-settings` with a payload that includes shell metacharacters.

For example, sending a payload like `authLoid=1`touch$IFS/tmp/authLoid.txt`` attempts to create a file `/tmp/authLoid.txt` on the device. If this file is created, it confirms the vulnerability.

Detection requires valid authentication (a session token and cookies). Monitoring for unusual POST requests to `/cgi-bin/luci/` with suspicious parameters containing shell metacharacters such as backticks (`), semicolons (;), or logical operators (&&) can also help identify exploitation attempts.


What immediate steps should I take to mitigate this vulnerability?

To mitigate the vulnerability in Tenda G103 1.0.0.5 related to command injection in the action_set_net_settings function, immediate steps include restricting access to the device's administrative interface to trusted users only.

Ensure that only authenticated and authorized users have access, as exploitation requires valid authentication tokens and session cookies.

Monitor and limit the use of the vulnerable parameters (authLoid, authLoidPassword, authPassword, authSerialNo, authType, oltType, usVlanId, usVlanPriority) to prevent injection of malicious input.

If possible, apply any available patches or updates from the vendor that address this issue.

As a temporary measure, consider isolating the device from untrusted networks to reduce the risk of remote exploitation.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart