fkie_cve-2009-5054
Vulnerability from fkie_nvd
Published
2011-02-03 17:00
Modified
2025-04-11 00:51
Severity ?
Summary
Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.
Impacted products
Vendor Product Version
smarty smarty *
smarty smarty 1.0
smarty smarty 1.0a
smarty smarty 1.0b
smarty smarty 1.1.0
smarty smarty 1.2.0
smarty smarty 1.2.1
smarty smarty 1.2.2
smarty smarty 1.3.0
smarty smarty 1.3.1
smarty smarty 1.3.2
smarty smarty 1.4.0
smarty smarty 1.4.0
smarty smarty 1.4.0
smarty smarty 1.4.1
smarty smarty 1.4.2
smarty smarty 1.4.3
smarty smarty 1.4.4
smarty smarty 1.4.5
smarty smarty 1.4.6
smarty smarty 1.5.0
smarty smarty 1.5.1
smarty smarty 1.5.2
smarty smarty 2.0.0
smarty smarty 2.0.1
smarty smarty 2.1.0
smarty smarty 2.1.1
smarty smarty 2.2.0
smarty smarty 2.3.0
smarty smarty 2.3.1
smarty smarty 2.4.0
smarty smarty 2.4.1
smarty smarty 2.4.2
smarty smarty 2.5.0
smarty smarty 2.5.0
smarty smarty 2.5.0
smarty smarty 2.6.0
smarty smarty 2.6.0
smarty smarty 2.6.0
smarty smarty 2.6.0
smarty smarty 2.6.1
smarty smarty 2.6.2
smarty smarty 2.6.3
smarty smarty 2.6.4
smarty smarty 2.6.5
smarty smarty 2.6.6
smarty smarty 2.6.7
smarty smarty 2.6.9
smarty smarty 2.6.10
smarty smarty 2.6.11
smarty smarty 2.6.12
smarty smarty 2.6.13
smarty smarty 2.6.14
smarty smarty 2.6.15
smarty smarty 2.6.16
smarty smarty 2.6.17
smarty smarty 2.6.18
smarty smarty 2.6.20
smarty smarty 2.6.22
smarty smarty 2.6.24
smarty smarty 2.6.25



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "9636F3D4-31B1-4308-AA00-6B3B4CA12B53",
              "versionEndIncluding": "2.6.26",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "D5FB053C-A0E3-49AF-ADF6-06A268B63061",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:*",
              "matchCriteriaId": "20D6D0EB-C680-479C-867A-13A90408E3C1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:*",
              "matchCriteriaId": "C83A1128-0AE1-41F4-A836-67F16CD65DD0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "5A8EB346-D9D3-4EDC-A2BC-C08FE1B72183",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "1C647DEF-268B-4259-9C06-A802C6688AC5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "D59EC271-7B08-4058-85EA-5C5B68915BC7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "F786C297-9711-4753-AE70-F1EC8F3DC36C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "64819A4D-5F8C-4FFF-92DD-BBFA53840043",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "9B07FF05-D669-4323-B987-F8D33CF41CD1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "A6DEB456-742C-42A1-B96D-604ADFFB30B5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "EACD5727-71A3-4CFE-8F66-246B1BA378A0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:*",
              "matchCriteriaId": "8E7033B8-8298-497B-ADD2-4A3E73205EF8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*",
              "matchCriteriaId": "AC146CA8-F777-43A8-850B-85DBCB1A1E88",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "DB4902CC-B3BE-4C5F-9550-F33E8DBE94EC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "5BEA9CF5-BB3D-47FD-91F2-24AE73388B23",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "3638BE10-DA43-4821-92ED-A60FF38AEB5C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "CAE038A6-11B7-4A33-A5F6-864331C72828",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "44EAF434-A6A7-460D-B138-A7DBE27963AB",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "E76D49D2-4D30-475D-848E-C5D7986A18CA",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "B13B482E-D2CF-4EE7-A4BC-0E866051D6A7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "96E029B3-0375-4300-AB75-7FF25ABEC03C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "5289CD34-B0C5-4421-AF45-F121D1BC05A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "1A405A14-0B55-4EA7-8F14-55AD784D6618",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "406D30AC-2746-4C9A-A886-6B9946C503B2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "4B3690F3-EEC9-4D00-B5C6-EBAFA7983E0F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "C1C62C2F-702C-4D6B-BA9B-36C3A84C5029",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "9D459162-8F88-4187-B683-7A873CFED17A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "8575FCF2-8F3B-4274-8201-D51A50C55ED9",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "E1DD77B1-E9BE-4386-9986-B733D9D41A09",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "B488FCA5-B5CA-49D7-AE78-AB5DC0039CE4",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "7BCB54B1-99D8-4D4C-BCD5-47A34AB7540B",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.4.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "979E2B4D-CDB8-41AB-AC83-476BF0858E04",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "457C0F14-9FD1-4BEE-87BB-CDAE861592B7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "36394FA5-1E04-4C06-A36D-2A661AED7BD6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:*",
              "matchCriteriaId": "644F6E4E-2B11-436F-A3A1-60042A7631D2",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "F1F93CC1-7BD4-4006-BF13-3A044CF917ED",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "0C344438-31E7-4180-9FE4-A0C575BA3CCF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:*",
              "matchCriteriaId": "249A2041-C515-4072-8091-32E65A1F42A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:*",
              "matchCriteriaId": "243A99DD-A54E-4D96-BF67-5853CE2FC5C3",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.1:*:*:*:*:*:*:*",
              "matchCriteriaId": "18214825-9B27-4DF1-A715-C1B825450070",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.2:*:*:*:*:*:*:*",
              "matchCriteriaId": "46D805C7-D9B9-4E3A-8A6A-0F4AD53AF0A5",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:*",
              "matchCriteriaId": "15A5DCDA-32CC-4675-A1C1-E07AEFEE1491",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.4:*:*:*:*:*:*:*",
              "matchCriteriaId": "31588789-D836-44F4-AD3C-26A4E071B451",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.5:*:*:*:*:*:*:*",
              "matchCriteriaId": "96D8E66D-8726-460C-A60D-6F2E534AA507",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:*",
              "matchCriteriaId": "DDCDF3E7-441D-48E2-BA45-41E11AEB7458",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.7:*:*:*:*:*:*:*",
              "matchCriteriaId": "EBD88BE2-82D0-4122-95F3-B3DB85F5A31E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.9:*:*:*:*:*:*:*",
              "matchCriteriaId": "DB7094A7-426F-44D6-AD97-97A10F46A3FD",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:*",
              "matchCriteriaId": "560FF27F-4899-4139-80E6-C7F6E4FAAA15",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.11:*:*:*:*:*:*:*",
              "matchCriteriaId": "039BD24A-B097-44AF-A145-469AE27F3B86",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.12:*:*:*:*:*:*:*",
              "matchCriteriaId": "BD4087E3-9EE0-4FDD-A822-973619B51FA1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.13:*:*:*:*:*:*:*",
              "matchCriteriaId": "8DB44614-3BBB-4F3F-8558-D2FE258E1CDF",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.14:*:*:*:*:*:*:*",
              "matchCriteriaId": "3488FA52-8180-42B8-9B36-EFB83051802E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.15:*:*:*:*:*:*:*",
              "matchCriteriaId": "EB761B72-10D4-4E8F-8E2E-C0D9F1D07E1F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.16:*:*:*:*:*:*:*",
              "matchCriteriaId": "AE7458AC-3220-45B1-AA56-F7B82688105A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:*",
              "matchCriteriaId": "E8AAAB3C-403D-4912-884A-4D258AA03698",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:*",
              "matchCriteriaId": "EEE3397B-7AF2-418F-8A07-7CF9A9CA8558",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.20:*:*:*:*:*:*:*",
              "matchCriteriaId": "351FAC14-8538-480C-8A8D-4E3E422EB00D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.22:*:*:*:*:*:*:*",
              "matchCriteriaId": "7B95000D-10A0-4D15-946E-24E432C6A464",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.24:*:*:*:*:*:*:*",
              "matchCriteriaId": "EFA96BC2-78D3-4052-8AFA-F679E3FDF6A7",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:smarty:smarty:2.6.25:*:*:*:*:*:*:*",
              "matchCriteriaId": "DF85AE00-A22D-4B57-B9BF-CDAF5B6B4B4D",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations."
    },
    {
      "lang": "es",
      "value": "El motor de plantillas PHP Smarty en versiones anteriores a la v3.0.0 beta 4 no tiene en cuenta el valor de umask a la hora de establecer los permisos de los archivos, lo que podr\u00eda permitir eludir restricciones de acceso previsto a trav\u00e9s de operaciones del sistema de archivos est\u00e1ndar."
    }
  ],
  "id": "CVE-2009-5054",
  "lastModified": "2025-04-11T00:51:21.963",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2011-02-03T17:00:01.837",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-264"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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.


Loading…

Loading…