From f5d9be1a93e627cca8acff66101e0c33e03f403e Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Sat, 28 Nov 2026 12:17:37 +0100 Subject: [PATCH] docs(plc): Siemens controllers by order number; no scan-made VEX fixed Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9 --- docs/guide/plc.md | 51 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/docs/guide/plc.md b/docs/guide/plc.md index bd7d25e..6e984af 100644 --- a/docs/guide/plc.md +++ b/docs/guide/plc.md @@ -196,10 +196,53 @@ CERT@VDE): the alert links the advisory (e.g. `VDE-2026-094`) and carries the vendor's remediation and the fixed version. A CVE alert a later scan no longer finds (the project now references a fixed -runtime or library version) is marked resolved, and its VEX status becomes -`fixed`, as for code targets; this needs both lookups (OSV and NVD) to have -covered every component. For a PLC project in a managed Git repository, the CVE -issues in the repository follow, as for code. +runtime or library version) is marked resolved, as for code targets; this needs +both lookups (OSV and NVD) to have covered every component. The scan does not +state VEX `fixed` for it: that is a person's statement. For a PLC project in a +managed Git repository, its CVE issue stays open with a note that the CVE is no +longer found, and a person closes it. + +## Siemens controllers by order number + +A Siemens CPU is matched by what is printed on it, without a project file. On the +target's page, the **Steuerungen** card opens the target's controllers. Each +controller is entered with: + +- its **order number** (Artikelnummer, MLFB), such as `6ES7511-1AK02-0AB0`, from + the rating plate or from TIA Portal (device configuration, Properties, + General, Catalog information); +- its **firmware**, such as `V3.1.4`, also shown on the CPU web server's start + page; +- optionally a name (`Hauptsteuerung Zelle 2`). + +The form recognises the order number while it is typed, by the name Siemens +uses for it. A valid number that no advisory names yet is accepted: Prüfwerk +checks it against every new advisory. + +Siemens ProductCERT names every affected CPU in its CSAF advisories by order +number and firmware range. Prüfwerk reads them daily and shows each controller +as a module on a DIN rail, with a light: + +| Light | Meaning | +| --- | --- | +| red | an advisory affects the installed firmware | +| green | advisories name the controller, none affects this firmware | +| grey | no advisory names the order number | + +The controller's panel lists the advisories with their severity, the firmware +that fixes them (`Behoben ab V3.1.5`, read from Siemens' remediation) and a +**Quelle** link to the advisory, which Siemens' terms require. The page shows +the current advisories at once. The target's CVE alerts and issues follow at +its next scan. + +Not matched yet: advisories that name only a whole series ("S7-1200 CPU +family") instead of order numbers. + +The API takes `devices` on `POST /api/v1/targets` and `PATCH +/api/v1/targets/{id}` (`order_number`, `firmware`, `label`). +`GET /api/v1/targets/{id}/devices` returns each device with the advisories +naming it, and `GET /api/v1/devices/lookup?order_number=` what the advisories +know of an order number. ## Dynamic testing — ICS protocol probe