{"schemaVersion":3,"id":"CVE-2022-0377","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Users of the LearnPress WordPress plugin before 4.1.5 can upload an image as a profile avatar after the registration.  After this process the user crops and saves the image. Then a \"POST\" request that contains user supplied name of the image is sent to the server for renaming and cropping of the image. As a result of this request, the name of the user-supplied image is changed with a MD5 value. This process can be conducted only when type of the image is JPG or PNG. An attacker can use this vulnerability in order to rename an arbitrary image file. By doing this, they could destroy the design of the web site.","dates":{"published":"2022-02-28T09:06:50.000Z","modified":"2024-08-02T23:25:40.554Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03205,"percentile":0.87957,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03205},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03205,"percentile":0.87957}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03205,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03205,"percentile":0.87957}]},"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":[{"id":"REF_5B09556D09BF03FA","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_44DBE1B593E82CE3","name":"Exploit Reference (bozogullarindan.com)","source":"reference","url":"https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50706","name":"WordPress Plugin Learnpress 4.1.4.1 - Arbitrary Image Renaming","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50706","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/50706.txt","codes":["CVE-2022-0377"]},"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm","description":"The product uses a broken or risky cryptographic algorithm or protocol.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"}],"affected":[{"vendor":"thimpress","product":"learnpress","name":"learnpress","label":"learnpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.5","eol":null,"hubHref":"/vendor/thimpress/learnpress"},{"vendor":"unknown","product":"learnpress","name":"LearnPress","label":"learnpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.5","eol":null,"hubHref":"/vendor/unknown/learnpress"},{"vendor":"wordpress","product":"learnpress","name":"LearnPress – WordPress LMS Plugin for Create and Sell Online Courses","label":"learnpress","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.1.4.1 (fixed in 4.1.5)","noFixRecorded":false,"fixedIn":"4.1.5"}],"versionsText":"≤ 4.1.4.1 (fixed in 4.1.5)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26","label":"wpscan.com/vulnerability/0d95ada6-53e3-4a80-a395-eacd7b090f26","hostname":"wpscan.com","tags":["Exploit","VDB Entry","Technical Description","Third Party Advisory"]},{"url":"https://bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/","label":"bozogullarindan.com/en/2022/01/wordpress-learnpress-plugin-4.1.4.1-arbitrary-image-renaming/","hostname":"bozogullarindan.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf","label":"github.com/LearnPress/learnpress/commit/d1dc4af7ef2950f1000abc21bd9520fb3eb98faf","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/5200ed9c-83dd-4f07-804c-2519932e5546","label":"www.wordfence.com/threat-intel/vulnerabilities/id/5200ed9c-83dd-4f07-804c-2519932e5546","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-02-28T09:06:50.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T23:25:40.554Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T06:18:45.351Z","stale":false,"partial":false}}