Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-16974

An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in apps/filemanager/upload/drop.php by using /filemanager/api/rm/.htaccess to remove the .htaccess file, and then using a filename that ends in .php followed by space characters (for bypassing the blacklist).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-16974
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:17 UTC · Revision 1

Source evidence

CVE-2018-16974

core-osv · Original source

Published 12 Sept 2018, 21:29 UTC

An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in apps/filemanager/upload/drop.php by using /filemanager/api/rm/.htaccess to remove the .htaccess file, and then using a filename that ends in .php followed by space characters (for bypassing the blacklist).

osv:CVE-2018-16974
Complete source record
{
  "id": "a93a70a04eb154dea2c70c5b8df0b6717441491ce5516e38ac1a8350e1d9fbcc",
  "url": "https://osv.dev/vulnerability/CVE-2018-16974",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-16974",
    "summary": "An issue was discovered in Elefant CMS before 2.0.7. There is a PHP Code Execution Vulnerability in apps/filemanager/upload/drop.php by using /filemanager/api/rm/.htaccess to remove the .htaccess file, and then using a filename that ends in .php followed by space characters (for bypassing the blacklist).",
    "evidence": "osv:CVE-2018-16974",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-16974",
      "aliases": [
        "CVE-2018-16974",
        "GHSA-77j2-7whr-6vpx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jbroadway/elefant",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "de8f921c70cf25af9ae50a025c390da5984e5179"
                },
                {
                  "fixed": "49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:elefantcms:elefant:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "de8f921c70cf25af9ae50a025c390da5984e5179"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "elefant_2_0_7_stable"
                  }
                ]
              }
            }
          ],
          "versions": [
            "elefant_2_0_6_stable",
            "elefant_2_0_5_stable",
            "elefant_2_0_4_stable",
            "elefant_2_0_3_stable",
            "elefant_2_0_2_stable",
            "elefant_2_0_1_stable",
            "elefant_2_0_0_stable",
            "elefant_1_3_14_rc",
            "elefant_1_3_13_rc",
            "elefant_1_3_12_rc",
            "elefant_1_3_10_beta",
            "elefant_1_3_9_beta",
            "elefant_1_3_8_beta",
            "elefant_1_3_7_beta",
            "elefant_1_3_6_beta",
            "elefant_1_3_5_beta",
            "elefant_1_3_4_beta",
            "elefant_1_3_3_beta",
            "elefant_1_3_1_beta",
            "elefant_1_3_0_beta",
            "elefant_1_1_3_beta",
            "elefant_1_1_1_beta",
            "elefant_1_1_0_beta",
            "elefant_0_9_13_rc",
            "elefant_0_9_9_beta",
            "elefant_0_9_8_beta",
            "elefant_0_9_7_beta",
            "elefant_0_9_6_beta",
            "elefant_0_9_5_beta",
            "elefant_0_9_4_beta",
            "elefant_0_9_3_beta",
            "elefant_0_9_2_beta",
            "elefant_0_9_1_alpha",
            "elefant_0_9_0_alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16974.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:04.173792527Z",
      "provider": "osv",
      "references": [
        "https://github.com/jbroadway/elefant/releases/tag/elefant_2_0_7_stable",
        "https://github.com/jbroadway/elefant/commit/49ba8cc24e9f009ce30d2c2eb9eefeb9be4ce1d0",
        "https://github.com/jbroadway/elefant/issues/287"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-16974",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381228,
  "published_at": "2018-09-12T21:29:00.613+00:00"
}