Cudy TR3000に認証済み管理者が任意のコマンドを実行できる脆弱性
Summary
Cudy TR3000の2.5.42より前のバージョンに、OpenVPNのクライアント設定をアップロードする機能のコマンドインジェクション脆弱性があります。ログイン済みの管理者が、リモートホストの項目にセミコロンを含む.ovpnファイルを読み込ませると、rootとして任意のコマンドを実行されるおそれがあります。修正版の2.5.42が公開されているため、更新をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Cudy TR3000の2.5.42より前のバージョンに、OpenVPNのクライアント設定をアップロードする機能のコマンドインジェクション脆弱性があります。ログイン済みの管理者が、リモートホストの項目にセミコロンを含む.ovpnファイルを読み込ませると、rootとして任意のコマンドを実行されるおそれがあります。修正版の2.5.42が公開されているため、更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Shenzhen Cudy Technology Co., Ltd.TR3000 1.0 |
< 2.5.42→ 2.5.42 |
2.5.42 |
Original description The description as published by the source.
Cudy TR3000 before 2.5.42 contains a command injection vulnerability in luci/model/cbi/vpn/openvpn/client.lua, which embeds the shellquote()-quoted remote host token of an uploaded OpenVPN configuration inside an already single-quoted sed program run by os.execute(), so the nested quotes terminate the outer quote. Authenticated administrators can upload an .ovpn file whose remote host token contains a semicolon to execute arbitrary commands as root.
Source: CVE.org (CVE Program・cvelistV5) NVD