cve-2021-33393
Vulnerability from cvelistv5
Published
2021-06-09 21:25
Modified
2024-08-03 23:50
Severity ?
Summary
lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.
Impacted products
n/an/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T23:50:43.023Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/MucahitSaratar/ipfire-2-25-auth-rce"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/ipfire/ipfire-2.x/commit/6769d909306d7bdc43d64598872126fcf1b217f6"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/ipfire/ipfire-2.x/commits/master?since=2021-05-17\u0026until=2021-05-17"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://packetstormsecurity.com/files/163158/IPFire-2.25-Remote-Code-Execution.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-06-15T20:06:53",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/MucahitSaratar/ipfire-2-25-auth-rce"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ipfire/ipfire-2.x/commit/6769d909306d7bdc43d64598872126fcf1b217f6"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/ipfire/ipfire-2.x/commits/master?since=2021-05-17\u0026until=2021-05-17"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://packetstormsecurity.com/files/163158/IPFire-2.25-Remote-Code-Execution.html"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2021-33393",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/MucahitSaratar/ipfire-2-25-auth-rce",
              "refsource": "MISC",
              "url": "https://github.com/MucahitSaratar/ipfire-2-25-auth-rce"
            },
            {
              "name": "https://github.com/ipfire/ipfire-2.x/commit/6769d909306d7bdc43d64598872126fcf1b217f6",
              "refsource": "MISC",
              "url": "https://github.com/ipfire/ipfire-2.x/commit/6769d909306d7bdc43d64598872126fcf1b217f6"
            },
            {
              "name": "https://github.com/ipfire/ipfire-2.x/commits/master?since=2021-05-17\u0026until=2021-05-17",
              "refsource": "MISC",
              "url": "https://github.com/ipfire/ipfire-2.x/commits/master?since=2021-05-17\u0026until=2021-05-17"
            },
            {
              "name": "http://packetstormsecurity.com/files/163158/IPFire-2.25-Remote-Code-Execution.html",
              "refsource": "MISC",
              "url": "http://packetstormsecurity.com/files/163158/IPFire-2.25-Remote-Code-Execution.html"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2021-33393",
    "datePublished": "2021-06-09T21:25:52",
    "dateReserved": "2021-05-20T00:00:00",
    "dateUpdated": "2024-08-03T23:50:43.023Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-33393\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2021-06-09T22:15:08.647\",\"lastModified\":\"2022-07-12T17:42:04.277\",\"vulnStatus\":\"Analyzed\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.\"},{\"lang\":\"es\",\"value\":\"lfs/backup en IPFire versi\u00f3n 2.25-core155 no asegura que el achivo /var/ipfire/backup/bin/backup.pl sea propiedad de la cuenta root. Podr\u00eda ser propiedad de una cuenta no privilegiada, lo que podr\u00eda potencialmente ser usado para instalar un script troyano backup.pl que luego es ejecutado por root. Problemas similares con la propiedad/permisos de otros archivos pueden presentarse tambi\u00e9n\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:S/C:C/I:C/A:C\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"SINGLE\",\"confidentialityImpact\":\"COMPLETE\",\"integrityImpact\":\"COMPLETE\",\"availabilityImpact\":\"COMPLETE\",\"baseScore\":9.0},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":8.0,\"impactScore\":10.0,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"2.25\",\"matchCriteriaId\":\"EBDDD8A7-E38C-4AAC-8728-3565419ED2FF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update141:*:*:*:*:*:*\",\"matchCriteriaId\":\"3B87D3C8-FA28-4F85-AC09-2EFACD6C35BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update142:*:*:*:*:*:*\",\"matchCriteriaId\":\"C1D81A88-D913-4F81-926B-77259697EC62\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update143:*:*:*:*:*:*\",\"matchCriteriaId\":\"22756F48-BFA7-4FAB-A5CB-AEFA07AE3CF0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update144:*:*:*:*:*:*\",\"matchCriteriaId\":\"A269B061-848F-469C-A339-54562E3732E8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update145:*:*:*:*:*:*\",\"matchCriteriaId\":\"2FEDBF86-E999-49AE-B9CF-AEE5779CBCD0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update146:*:*:*:*:*:*\",\"matchCriteriaId\":\"3F8CED76-5D01-4E94-B2DF-EB956F011380\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update147:*:*:*:*:*:*\",\"matchCriteriaId\":\"F00892F6-77F8-46EA-AC9E-6B61D7774F44\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update148:*:*:*:*:*:*\",\"matchCriteriaId\":\"795B8D36-67E1-441A-9F13-41A39F437AC0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update149:*:*:*:*:*:*\",\"matchCriteriaId\":\"5B0FED14-7C6D-4F36-BBA9-F56AF3A31959\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update150:*:*:*:*:*:*\",\"matchCriteriaId\":\"C614C0B1-F287-4E63-8D8F-23981375D582\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update151:*:*:*:*:*:*\",\"matchCriteriaId\":\"9A308567-C944-4D70-9546-3BE15D89F0BE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update152:*:*:*:*:*:*\",\"matchCriteriaId\":\"B2E0CD0F-FF88-4EAC-9A5E-0C7DAD479973\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update155:*:*:*:*:*:*\",\"matchCriteriaId\":\"CFC77F5A-4ADB-4B9F-899D-062B5053D29F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:ipfire:ipfire:2.25:core_update156:*:*:*:*:*:*\",\"matchCriteriaId\":\"0163A797-CA7A-4D4D-AFAE-1A9472F25627\"}]}]}],\"references\":[{\"url\":\"http://packetstormsecurity.com/files/163158/IPFire-2.25-Remote-Code-Execution.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://github.com/MucahitSaratar/ipfire-2-25-auth-rce\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/ipfire/ipfire-2.x/commit/6769d909306d7bdc43d64598872126fcf1b217f6\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://github.com/ipfire/ipfire-2.x/commits/master?since=2021-05-17\u0026until=2021-05-17\",\"source\":\"cve@mitre.org\",\"tags\":[\"Third Party Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.