FoE Filename Matching Bypass via Length Truncation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| RT-Labs AB | SOES | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rt-labs Ab | Soes |
|
Vendor Solution
Update SOES to v3.2.1 or later
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.178% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rt-labs Ab
Rt-labs Ab soes |
|
| Vendors & Products |
Rt-labs Ab
Rt-labs Ab soes |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | FOE_read and FOE_write store the filename length as uint8_t, truncating it modulo 256. When (mbxheader.length - ESC_FOEHSIZE) is a multiple of 256, the length becomes 0. Additionally, a request whose mailbox length equals ESC_FOEHSIZE exactly also produces a length of 0 without any truncation. In both cases FOE_fopen calls strncmp with a length of 0, which always returns equal, so the first registered file whose password is 0 is opened regardless of the filename the master sent. | |
| Title | FoE Filename Matching Bypass via Length Truncation | |
| Weaknesses | CWE-131 CWE-284 |
|
| References |
| |
| Metrics |
cvssV3_1
|