{"schemaVersion":3,"id":"CVE-2018-7791","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A Permissions, Privileges, and Access Control vulnerability exists in Schneider Electric's Modicon M221 product (all references, all versions prior to firmware V1.6.2.0). The vulnerability allows unauthorized users to overwrite the original password with their password. If an attacker exploits this vulnerability and overwrite the password, the attacker can upload the original program from the PLC.","dates":{"published":"2018-08-29T21:00:00.000Z","modified":"2026-05-29T13:59:17.157Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01896,"percentile":0.79326,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01896},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01896,"percentile":0.79326}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01896,"percentile":0.79326}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"},{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"schneider electric se","product":"modicon m221, all references, all versions prior to firmware v1.6.2.0","name":"Modicon M221, all references, all versions prior to firmware V1.6.2.0","label":"modicon m221, all references, all versions prior to firmware v1.6.2.0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Modicon M221, all references, all versions prior to firmware V1.6.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"Modicon M221, all references, all versions prior to firmware V1.6.2.0","eol":null,"hubHref":"/vendor/schneider_electric_se/modicon_m221_all_references_all_versions_prior_to_firmware_v1620"},{"vendor":"schneider-electric","product":"modicon_m221_firmware","name":"modicon m221 firmware","label":"modicon_m221_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 1.6.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.2.0","eol":null,"hubHref":"/vendor/schneider-electric/modicon_m221"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/bid/105182","label":"www.securityfocus.com/bid/105182","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.schneider-electric.com/en/download/document/SEVD-2018-235-01/","label":"www.schneider-electric.com/en/download/document/SEVD-2018-235-01/","hostname":"www.schneider-electric.com","tags":["X Refsource CONFIRM","Mitigation","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-08-29T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-29T13:59:17.157Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:21:29.777Z","stale":false,"partial":false}}