fkie_cve-2008-4811
Vulnerability from fkie_nvd
Published
2008-10-31 18:09
Modified
2025-04-09 00:30
Severity ?
Summary
The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \ (backslash) before a dollar-sign character.
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



{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "77A20DDC-B660-4707-9CF6-76998641F161",
              "versionEndIncluding": "2.6.20",
              "vulnerable": false
            },
            {
              "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
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \\ (backslash) before a dollar-sign character."
    },
    {
      "lang": "es",
      "value": "La funci\u00f3n _expand_quoted_text en libs/Smarty_Compiler.class.php en Smarty 2.6.20 r2797 y anteriores permite a atacantes remotos ejecutar c\u00f3digo PHP de su elecci\u00f3n mediante vectores relacionados con plantillas y una \\ (barra invertida) antes de un car\u00e1cter del signo del d\u00f3lar."
    }
  ],
  "id": "CVE-2008-4811",
  "lastModified": "2025-04-09T00:30:58.490",
  "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": "2008-10-31T18:09:08.570",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/32329"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://securityvulns.ru/Udocument746.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.debian.org/security/2008/dsa-1691"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.openwall.com/lists/oss-security/2008/10/25/2"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/31862"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46406"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/32329"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://securityvulns.ru/Udocument746.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2008/dsa-1691"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2008/10/25/2"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/31862"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46406"
    }
  ],
  "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…