FKIE_CVE-2007-4727

Vulnerability from fkie_nvd - Published: 2007-09-12 19:17 - Updated: 2026-06-16 22:44
Severity
Summary
Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."
References
cve@mitre.orghttp://fedoranews.org/updates/FEDORA-2007-213.shtml
cve@mitre.orghttp://secunia.com/advisories/26732Vendor Advisory
cve@mitre.orghttp://secunia.com/advisories/26794
cve@mitre.orghttp://secunia.com/advisories/26824
cve@mitre.orghttp://secunia.com/advisories/26997
cve@mitre.orghttp://secunia.com/advisories/27229
cve@mitre.orghttp://securityreason.com/securityalert/3127
cve@mitre.orghttp://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
cve@mitre.orghttp://trac.lighttpd.net/trac/changeset/1986
cve@mitre.orghttp://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
cve@mitre.orghttp://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
cve@mitre.orghttp://www.novell.com/linux/security/advisories/2007_20_sr.html
cve@mitre.orghttp://www.securityfocus.com/archive/1/479763/100/0/threaded
cve@mitre.orghttp://www.securityfocus.com/bid/25622
cve@mitre.orghttp://www.vupen.com/english/advisories/2007/3110
cve@mitre.orghttps://bugzilla.redhat.com/show_bug.cgi?id=284511
cve@mitre.orghttps://exchange.xforce.ibmcloud.com/vulnerabilities/36526
cve@mitre.orghttps://issues.rpath.com/browse/RPL-1715
af854a3a-2127-422b-91ae-364da2661108http://fedoranews.org/updates/FEDORA-2007-213.shtml
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/26732Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/26794
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/26824
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/26997
af854a3a-2127-422b-91ae-364da2661108http://secunia.com/advisories/27229
af854a3a-2127-422b-91ae-364da2661108http://securityreason.com/securityalert/3127
af854a3a-2127-422b-91ae-364da2661108http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
af854a3a-2127-422b-91ae-364da2661108http://trac.lighttpd.net/trac/changeset/1986
af854a3a-2127-422b-91ae-364da2661108http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
af854a3a-2127-422b-91ae-364da2661108http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
af854a3a-2127-422b-91ae-364da2661108http://www.novell.com/linux/security/advisories/2007_20_sr.html
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/archive/1/479763/100/0/threaded
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/25622
af854a3a-2127-422b-91ae-364da2661108http://www.vupen.com/english/advisories/2007/3110
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=284511
af854a3a-2127-422b-91ae-364da2661108https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
af854a3a-2127-422b-91ae-364da2661108https://issues.rpath.com/browse/RPL-1715
Impacted products
Vendor Product Version
lighttpd lighttpd *

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "source": "cve@mitre.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "280F8BA1-34E8-4A93-871C-49E6F6826F2C",
              "versionEndIncluding": "1.4.15",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a \"header overflow.\""
    },
    {
      "lang": "es",
      "value": "Desbordamiento de b\u00fafer en la funci\u00f3n fcgi_env_add de mod_proxy_backend_fastcgi.c en la extensi\u00f3n mod_fastcgi en lighttpd anterior a 1.4.18 permite a atacantes remotos sobrescribir variables CGI de su elecci\u00f3n y ejecutar c\u00f3digo de su elecci\u00f3n mediante una petici\u00f3n HTTP con una longitud de contenido larga, como se ha demostrado sobrescribiendo la variable SCRIPT_FILENAME, tambi\u00e9n conocido como \"desbordamiento de cabecera\"."
    }
  ],
  "id": "CVE-2007-4727",
  "lastModified": "2026-06-16T22:44:39.827",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.8,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": true,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ]
  },
  "published": "2007-09-12T19:17:00.000",
  "references": [
    {
      "source": "cve@mitre.org",
      "url": "http://fedoranews.org/updates/FEDORA-2007-213.shtml"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/26732"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/26794"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/26824"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/26997"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secunia.com/advisories/27229"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://securityreason.com/securityalert/3127"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://trac.lighttpd.net/trac/changeset/1986"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.novell.com/linux/security/advisories/2007_20_sr.html"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/archive/1/479763/100/0/threaded"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.securityfocus.com/bid/25622"
    },
    {
      "source": "cve@mitre.org",
      "url": "http://www.vupen.com/english/advisories/2007/3110"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=284511"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36526"
    },
    {
      "source": "cve@mitre.org",
      "url": "https://issues.rpath.com/browse/RPL-1715"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://fedoranews.org/updates/FEDORA-2007-213.shtml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "http://secunia.com/advisories/26732"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/26794"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/26824"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/26997"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secunia.com/advisories/27229"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://securityreason.com/securityalert/3127"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://trac.lighttpd.net/trac/changeset/1986"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.novell.com/linux/security/advisories/2007_20_sr.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/archive/1/479763/100/0/threaded"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/25622"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.vupen.com/english/advisories/2007/3110"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=284511"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36526"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://issues.rpath.com/browse/RPL-1715"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-119"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…