CVE-2017-10843: Baserproject/basercms Arbitrary File Delete Vulnerability

HIGH
Advisory Identifier: GHSA-x73x-7gmx-w835
CVSS 7.5
Published
Advisory Summary

CVE-2017-10843 is a HIGH (CVSS 7.5) arbitrary file delete vulnerability (General Security Weakness) affecting Baserproject/basercms libraries in the Packagist ecosystem. The issue involves arbitrary file delete in basercms. Remediation is available by upgrading affected packages to version 3.0.15, 4.0.6.

CVE-2017-10843 at a Glance

CVE Identifier CVE-2017-10843
GHSA Identifier GHSA-x73x-7gmx-w835
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Baserproject/basercms
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2017-10843

To remediate this vulnerability, upgrade all affected Baserproject/basercms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

baserproject/basercms fixed: 3.0.15
Upgrade baserproject/basercms to 3.0.15
baserproject/basercms fixed: 4.0.6
Upgrade baserproject/basercms to 4.0.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for baserproject/basercms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-10843, inspect your project dependencies for Baserproject/basercms:

inspect dependencies for baserproject/basercms

Analyze the terminal output to locate any version of Baserproject/basercms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.15), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Baserproject/basercms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

baserCMS version 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to delete arbitrary files via unspecified vectors when the "File" field is being used in the mail form.

CVE-2017-10843 Affected Baserproject/basercms Versions

2 component(s)
Fixed Versions:
3.0.154.0.6
Product / Package Ecosystem Affected Versions Fixed Version
baserproject/basercms
Packagist
< 3.0.15
3.0.15
baserproject/basercms
Packagist
≥ 4.0.0
< 4.0.6
4.0.6

References

Frequently Asked Questions

What is CVE-2017-10843?
CVE-2017-10843 is a security vulnerability in Baserproject/basercms involving Arbitrary file delete in baserCMS under General Security Weakness.
Which Baserproject/basercms versions are affected?
Affected versions include releases prior to 3.0.15, 4.0.6 across affected packages: baserproject/basercms.
What version fixes CVE-2017-10843?
Upgrading to 3.0.15, 4.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is baserproject/basercms affected?
Yes, baserproject/basercms is affected in releases prior to 3.0.15, 4.0.6. Upgrade your dependency to 3.0.15, 4.0.6 or later.
What is the CVSS score of CVE-2017-10843?
CVE-2017-10843 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2017-10843?
CVE-2017-10843 is classified under General Security Weakness.
How can I check Packagist dependencies for CVE-2017-10843?
Run the dependency tree command: 'inspect dependencies for baserproject/basercms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-x73x-7gmx-w835",
  "modified" : "2023-07-07T18:11:18Z",
  "published" : "2022-05-13T01:41:58Z",
  "aliases" : [ "CVE-2017-10843" ],
  "summary" : "Arbitrary file delete in baserCMS",
  "details" : "baserCMS version 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to delete arbitrary files via unspecified vectors when the \"File\" field is being used in the mail form.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "baserproject/basercms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.15"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.14"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "baserproject/basercms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.0.5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-10843"
  }, {
    "type" : "WEB",
    "url" : "https://basercms.net/security/JVN78151490"
  }, {
    "type" : "WEB",
    "url" : "http://jvn.jp/en/jp/JVN78151490/index.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-07T18:11:18Z",
    "nvd_published_at" : "2017-08-29T01:35:00Z"
  }
}