CVE-2018-16974

Source
https://cve.org/CVERecord?id=CVE-2018-16974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-16974
Aliases
Published
2018-09-12T21:29:00Z
Modified
2026-10-20T10:50:04Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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).

References

Affected packages

Git / github.com/jbroadway/elefant

Affected ranges

Type
GIT
Repo
https://github.com/jbroadway/elefant
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "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"
        },
        {
            "original_tag":  "elefant_2_0_7_stable",
            "range":  [
                {
                    "fixed":  "de8f921c70cf25af9ae50a025c390da5984e5179"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

Other
elefant_0_9_0_alpha
elefant_0_9_13_rc
elefant_0_9_1_alpha
elefant_0_9_2_beta
elefant_0_9_3_beta
elefant_0_9_4_beta
elefant_0_9_5_beta
elefant_0_9_6_beta
elefant_0_9_7_beta
elefant_0_9_8_beta
elefant_0_9_9_beta
elefant_1_1_0_beta
elefant_1_1_1_beta
elefant_1_1_3_beta
elefant_1_3_0_beta
elefant_1_3_10_beta
elefant_1_3_12_rc
elefant_1_3_13_rc
elefant_1_3_14_rc
elefant_1_3_1_beta
elefant_1_3_3_beta
elefant_1_3_4_beta
elefant_1_3_5_beta
elefant_1_3_6_beta
elefant_1_3_7_beta
elefant_1_3_8_beta
elefant_1_3_9_beta
elefant_2_0_0_stable
elefant_2_0_1_stable
elefant_2_0_2_stable
elefant_2_0_3_stable
elefant_2_0_4_stable
elefant_2_0_5_stable
elefant_2_0_6_stable

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16974.json"