CVE-2008-4810 (GCVE-0-2008-4810)

Vulnerability from cvelistv5 – Published: 2008-10-31 17:18 – Updated: 2024-08-07 10:31
VLAI
Summary
The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka "php executed in templates;" and (2) a double quoted literal string, aka a "function injection security hole." NOTE: each vector affects slightly different SVN revisions.
Severity
No CVSS data available.
CWE
  • n/a
Assigner
mitre CNA under the mitre root
CNA scorecard E 29/100 over 2359 records in the last 180 days details
Date Public
2008-09-22 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-07T10:31:27.520Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "32329",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/32329"
          },
          {
            "name": "31862",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/31862"
          },
          {
            "name": "smarty-expandquotedtext-code-execution(46031)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46031"
          },
          {
            "name": "DSA-1691",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2008/dsa-1691"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://code.google.com/p/smarty-php/source/detail?r=2784\u0026path=/trunk/libs/Smarty_Compiler.class.php"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://securityvulns.ru/Udocument746.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.gentoo.org/attachment.cgi?id=169804\u0026action=view"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://smarty-php.googlecode.com/svn/trunk/NEWS"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://code.google.com/p/smarty-php/source/detail?r=2797\u0026path=/trunk/libs/Smarty_Compiler.class.php"
          },
          {
            "name": "[oss-security] 20081025 Regarding SA32329 (Smarty \"_expand_quoted_text()\" Security Bypass)",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2008/10/25/2"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2008-09-22T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka \"php executed in templates;\" and (2) a double quoted literal string, aka a \"function injection security hole.\" NOTE: each vector affects slightly different SVN revisions."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-08-07T12:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "32329",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/32329"
        },
        {
          "name": "31862",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/31862"
        },
        {
          "name": "smarty-expandquotedtext-code-execution(46031)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46031"
        },
        {
          "name": "DSA-1691",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2008/dsa-1691"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://code.google.com/p/smarty-php/source/detail?r=2784\u0026path=/trunk/libs/Smarty_Compiler.class.php"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://securityvulns.ru/Udocument746.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.gentoo.org/attachment.cgi?id=169804\u0026action=view"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://smarty-php.googlecode.com/svn/trunk/NEWS"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://code.google.com/p/smarty-php/source/detail?r=2797\u0026path=/trunk/libs/Smarty_Compiler.class.php"
        },
        {
          "name": "[oss-security] 20081025 Regarding SA32329 (Smarty \"_expand_quoted_text()\" Security Bypass)",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2008/10/25/2"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2008-4810",
          "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": "The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka \"php executed in templates;\" and (2) a double quoted literal string, aka a \"function injection security hole.\" NOTE: each vector affects slightly different SVN revisions."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "32329",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/32329"
            },
            {
              "name": "31862",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/31862"
            },
            {
              "name": "smarty-expandquotedtext-code-execution(46031)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46031"
            },
            {
              "name": "DSA-1691",
              "refsource": "DEBIAN",
              "url": "http://www.debian.org/security/2008/dsa-1691"
            },
            {
              "name": "http://code.google.com/p/smarty-php/source/detail?r=2784\u0026path=/trunk/libs/Smarty_Compiler.class.php",
              "refsource": "CONFIRM",
              "url": "http://code.google.com/p/smarty-php/source/detail?r=2784\u0026path=/trunk/libs/Smarty_Compiler.class.php"
            },
            {
              "name": "http://securityvulns.ru/Udocument746.html",
              "refsource": "MISC",
              "url": "http://securityvulns.ru/Udocument746.html"
            },
            {
              "name": "https://bugs.gentoo.org/attachment.cgi?id=169804\u0026action=view",
              "refsource": "CONFIRM",
              "url": "https://bugs.gentoo.org/attachment.cgi?id=169804\u0026action=view"
            },
            {
              "name": "http://smarty-php.googlecode.com/svn/trunk/NEWS",
              "refsource": "CONFIRM",
              "url": "http://smarty-php.googlecode.com/svn/trunk/NEWS"
            },
            {
              "name": "http://code.google.com/p/smarty-php/source/detail?r=2797\u0026path=/trunk/libs/Smarty_Compiler.class.php",
              "refsource": "CONFIRM",
              "url": "http://code.google.com/p/smarty-php/source/detail?r=2797\u0026path=/trunk/libs/Smarty_Compiler.class.php"
            },
            {
              "name": "[oss-security] 20081025 Regarding SA32329 (Smarty \"_expand_quoted_text()\" Security Bypass)",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2008/10/25/2"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2008-4810",
    "datePublished": "2008-10-31T17:18:00.000Z",
    "dateReserved": "2008-10-31T00:00:00.000Z",
    "dateUpdated": "2024-08-07T10:31:27.520Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2008-4810",
      "date": "2026-10-22",
      "epss": "0.02187",
      "percentile": "0.82262"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "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 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka \"php executed in templates;\" and (2) a double quoted literal string, aka a \"function injection security hole.\" NOTE: each vector affects slightly different SVN revisions."
          },
          {
            "lang": "es",
            "value": "La funci\u00f3n _expand_quoted_text en libs/Smarty_Compiler.class.php en Smarty 2.6.20 antes de r2797 permite a atacantes remotos ejecutar c\u00f3digo PHP de su elecci\u00f3n mediante vectores relacionados con plantillas y (1) un car\u00e1cter del signo del d\u00f3lar, tambi\u00e9n conocido como \"php ejecutado en plantillas\"; y (2) una cadena de un literal con dobles comillas, tambi\u00e9n conocido como \"agujero de seguridad en inyecci\u00f3n de funci\u00f3n\". NOTA: cada vector afecta de un modo ligeramente diferente a las revisiones SVN."
          }
        ],
        "id": "CVE-2008-4810",
        "lastModified": "2026-04-23T00:35:47.467",
        "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": true,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2008-10-31T18:09:08.540",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "http://code.google.com/p/smarty-php/source/detail?r=2784\u0026path=/trunk/libs/Smarty_Compiler.class.php"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://code.google.com/p/smarty-php/source/detail?r=2797\u0026path=/trunk/libs/Smarty_Compiler.class.php"
          },
          {
            "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://smarty-php.googlecode.com/svn/trunk/NEWS"
          },
          {
            "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://bugs.gentoo.org/attachment.cgi?id=169804\u0026action=view"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46031"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://code.google.com/p/smarty-php/source/detail?r=2784\u0026path=/trunk/libs/Smarty_Compiler.class.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://code.google.com/p/smarty-php/source/detail?r=2797\u0026path=/trunk/libs/Smarty_Compiler.class.php"
          },
          {
            "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://smarty-php.googlecode.com/svn/trunk/NEWS"
          },
          {
            "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://bugs.gentoo.org/attachment.cgi?id=169804\u0026action=view"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46031"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-94"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2025-11-21T13:14:29+00:00",
      "cve": "CVE-2008-4810",
      "id": "CVE-2008-4810",
      "initial_release_date": "2008-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "php-Smarty: PHP code execution via unescaped $ sign or double-quoted string",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2008/cve-2008-4810.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.