The password for the project protection of the Schneider Modicon TM221CE16R is hard-coded and cannot be changed.
OpenSource Security Ralf Spenneberg
Am Bahnhof 3-5
OS-S Security Advisory 2017-02
Date: April 4th, 2017
Authors: Simon Heming, Maik Br=C3=BCggemann, Hendrik Schwartke, Ralf Spen=
CVE: not yet assigned
Affected Device: Schneider SoMachine Basic 1.4 SP1, Schneider Modicon
TM221CE16R, Firmware 22.214.171.124
Title: The password for the project protection of the Schneider Modicon
TM221CE16R is hard-coded and cannot be changed.
Severity: Critical. The protection of the application is not existant.
Ease of Exploitation: Trivial
Vulnerability type: Information Disclosure
Vendor contacted: December 23rd, 2016
The Project Protection is used to prevent unauthorized users from
opening the protected project file by prompting the user for a password.
The XML file is AES-CBC encrypted, however the key used for encryption
is hard coded and cannot be changed. The key used for encryption is:
=E2=80=9CSoMachineBasicSoMachineBasicSoMa=E2=80=9D. After decrypting the =
XML file with
the standard password the user password can be found in the decrypted
data. After reading the user password the project can be opened and
modified with SoMachine Basic.
We contacted the vendor. Apart from the first acknowledgement of the
receipt of the report we did not receive any further information.
OpenSource Training Ralf Spenneberg http://www.os-t.de
Am Bahnhof 3-5 48565 Steinfurt Germany
Fon: +49(0)2552 638 755 Fax: +49(0)2552 638 757