OpenPLC ProjectのOpenPLC_v3 ファームウェアにおけるパストラバーサルの脆弱性
| Title |
OpenPLC ProjectのOpenPLC_v3 ファームウェアにおけるパストラバーサルの脆弱性
|
| Summary |
OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a)にはパスインジェクションの脆弱性が存在します。glue_generator.cppからコンパイルされたバイナリプログラムは、コマンドライン経由で渡されるファイルパスパラメータの検証を一切行っていません。ユーザーが制御する入力パラメータは、ファイルの読み書きのために基盤となるファイル操作関数(fopen/ifstream/ofstream)に直接渡されます。攻撃者はこの脆弱性を悪用して、任意の読み取り可能なファイルを読むための悪意のあるパスを構築できます。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 13, 2026, midnight |
| Registration Date |
May 28, 2026, 2:42 p.m. |
| Last Update |
May 28, 2026, 2:42 p.m. |
|
CVSS3.0 : 警告
|
| Score |
6.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected System
| OpenPLC Project |
|
OpenPLC_v3 ファームウェア 2024-03-09
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月28日] 掲載 |
May 28, 2026, 2:42 p.m. |
NVD Vulnerability Information
CVE-2026-31156
| Summary |
A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program compiled from glue_generator.cpp does not perform any validation on the file path parameters passed via the command line. The user-controlled input parameters are directly passed to the underlying file operation functions (fopen/ifstream/ofstream) for file reading and writing. An attacker can exploit this vulnerability by constructing a malicious path to read arbitrary readable files.
|
| Publication Date |
May 14, 2026, 1:16 a.m. |
| Registration Date |
May 15, 2026, 4:20 a.m. |
| Last Update |
May 15, 2026, 12:16 a.m. |
Related information, measures and tools
Common Vulnerabilities List