Submit #1069944: D-Link DIR-629 A1 V1.03.B01 Command Injectioninfo

TitleD-Link DIR-629 A1 V1.03.B01 Command Injection
DescriptionAn OS command injection vulnerability exists in the NTP configuration template of D-Link DIR-629 (Rev A) firmware v1.03.B01 CN. The NTP server value (/device/time/ntp/server) is embedded unquoted into the runtime script /var/run/ntp_run.sh by the service template etc/services/DEVICE.TIME.php, which is rendered whenever the device time service is (re)started (service DEVICE.TIME restart). A user able to set the NTP server field — via the normal configuration flow, the WAND protocol, or the chained hedwig injection — can set a value such as x;echo PWNED>/tmp/p, which is executed as root when the generated script runs.
Source⚠️ https://gist.github.com/H3rmesk1t/08e501d86a84b34df5037ad7aa24df0f
User
 LiuYijun_JX.SGCC (UID 102035)
Submission11/02/2026 11:59 (26 days ago)
Moderation11/28/2026 08:10 (26 days later)
StatusAccepted
VulDB entry445071 [D-Link DIR-629 1.03.B01_CN NTP Time Service DEVICE.TIME.php server os command injection]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!