{"api_version":"1","generated_at":"2026-07-23T23:01:55+00:00","cve":"CVE-2002-0653","urls":{"html":"https://cve.report/CVE-2002-0653","api":"https://cve.report/api/cve/CVE-2002-0653.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2002-0653","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2002-0653"},"summary":{"title":"CVE-2002-0653","description":"Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries.","state":"PUBLISHED","assigner":"mitre","published_at":"2002-07-11 04:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["CWE-193","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-031.0.txt","name":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-031.0.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://www.securityfocus.com/bid/5084","name":"http://www.securityfocus.com/bid/5084","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Third Party Advisory","VDB Entry"],"title":"Mod_SSL Off-By-One HTAccess Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-048.php","name":"http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-048.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000504","name":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000504","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Home - Conectiva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html","name":"http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Security Announcement","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://archives.neohapsis.com/archives/hp/2002-q3/0018.html","name":"http://archives.neohapsis.com/archives/hp/2002-q3/0018.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Neohapsis Archives - HP Security Digests - HP Secure OS Software for Linux security bulletins digest - From support_feedback_at_us-support-mail.external.hp.com","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://archives.neohapsis.com/archives/bugtraq/2002-06/0350.html","name":"http://archives.neohapsis.com/archives/bugtraq/2002-06/0350.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Neohapsis Archives - Bugtraq - TSL-2002-0058 - apache/mod_ssl - From tsltrustix.com","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=102563469326072&w=2","name":"http://marc.info/?l=bugtraq&m=102563469326072&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"],"title":"'[ESA-20020702-017] off-by-one in mod_ssl's configuration directive' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-136.html","name":"http://www.redhat.com/support/errata/RHSA-2002-136.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-134.html","name":"http://www.redhat.com/support/errata/RHSA-2002-134.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2002/dsa-135","name":"http://www.debian.org/security/2002/dsa-135","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Debian -- Security Information -- DSA-135-1 libapache-mod-ssl","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-146.html","name":"http://www.redhat.com/support/errata/RHSA-2002-146.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=vuln-dev&m=102477330617604&w=2","name":"http://marc.info/?l=vuln-dev&m=102477330617604&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"'Another flaw in Apache?' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=102513970919836&w=2","name":"http://marc.info/?l=bugtraq&m=102513970919836&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"'Apache mod_ssl off-by-one vulnerability' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2003-106.html","name":"http://www.redhat.com/support/errata/RHSA-2003-106.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2002-164.html","name":"http://rhn.redhat.com/errata/RHSA-2002-164.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-135.html","name":"http://www.redhat.com/support/errata/RHSA-2002-135.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.iss.net/security_center/static/9415.php","name":"http://www.iss.net/security_center/static/9415.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"ISS X-Force Database: apache-modssl-htaccess-bo (9415): Apache HTTP Server mod_ssl .htaccess off-by-one buffer overflow","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2002-0653","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-0653","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2002","cve_id":"653","vulnerable":"1","versionEndIncluding":"2.8.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"modssl","cpe5":"mod_ssl","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T02:56:38.466Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"RHSA-2002:164","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2002-164.html"},{"name":"apache-modssl-htaccess-bo(9415)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"http://www.iss.net/security_center/static/9415.php"},{"name":"RHSA-2003:106","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2003-106.html"},{"name":"CSSA-2002-031.0","tags":["vendor-advisory","x_refsource_CALDERA","x_transferred"],"url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-031.0.txt"},{"name":"CLA-2002:504","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"],"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000504"},{"name":"MDKSA-2002:048","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"],"url":"http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-048.php"},{"name":"SuSE-SA:2002:028","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html"},{"name":"RHSA-2002:134","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-134.html"},{"name":"RHSA-2002:136","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-136.html"},{"name":"20020622 Another flaw in Apache?","tags":["mailing-list","x_refsource_VULN-DEV","x_transferred"],"url":"http://marc.info/?l=vuln-dev&m=102477330617604&w=2"},{"name":"20020628 TSL-2002-0058 - apache/mod_ssl","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://archives.neohapsis.com/archives/bugtraq/2002-06/0350.html"},{"name":"5084","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/5084"},{"name":"20020624 Apache mod_ssl off-by-one vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=102513970919836&w=2"},{"name":"RHSA-2002:135","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-135.html"},{"name":"RHSA-2002:146","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-146.html"},{"name":"HPSBTL0207-052","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://archives.neohapsis.com/archives/hp/2002-q3/0018.html"},{"name":"DSA-135","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2002/dsa-135"},{"name":"ESA-20020702-017","tags":["vendor-advisory","x_refsource_ENGARDE","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=102563469326072&w=2"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2002-06-24T00:00:00.000Z","descriptions":[{"lang":"en","value":"Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2002-08-17T00:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"RHSA-2002:164","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2002-164.html"},{"name":"apache-modssl-htaccess-bo(9415)","tags":["vdb-entry","x_refsource_XF"],"url":"http://www.iss.net/security_center/static/9415.php"},{"name":"RHSA-2003:106","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2003-106.html"},{"name":"CSSA-2002-031.0","tags":["vendor-advisory","x_refsource_CALDERA"],"url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-031.0.txt"},{"name":"CLA-2002:504","tags":["vendor-advisory","x_refsource_CONECTIVA"],"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000504"},{"name":"MDKSA-2002:048","tags":["vendor-advisory","x_refsource_MANDRAKE"],"url":"http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-048.php"},{"name":"SuSE-SA:2002:028","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html"},{"name":"RHSA-2002:134","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-134.html"},{"name":"RHSA-2002:136","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-136.html"},{"name":"20020622 Another flaw in Apache?","tags":["mailing-list","x_refsource_VULN-DEV"],"url":"http://marc.info/?l=vuln-dev&m=102477330617604&w=2"},{"name":"20020628 TSL-2002-0058 - apache/mod_ssl","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://archives.neohapsis.com/archives/bugtraq/2002-06/0350.html"},{"name":"5084","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/5084"},{"name":"20020624 Apache mod_ssl off-by-one vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=102513970919836&w=2"},{"name":"RHSA-2002:135","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-135.html"},{"name":"RHSA-2002:146","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-146.html"},{"name":"HPSBTL0207-052","tags":["vendor-advisory","x_refsource_HP"],"url":"http://archives.neohapsis.com/archives/hp/2002-q3/0018.html"},{"name":"DSA-135","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2002/dsa-135"},{"name":"ESA-20020702-017","tags":["vendor-advisory","x_refsource_ENGARDE"],"url":"http://marc.info/?l=bugtraq&m=102563469326072&w=2"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2002-0653","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":"Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2002:164","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2002-164.html"},{"name":"apache-modssl-htaccess-bo(9415)","refsource":"XF","url":"http://www.iss.net/security_center/static/9415.php"},{"name":"RHSA-2003:106","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2003-106.html"},{"name":"CSSA-2002-031.0","refsource":"CALDERA","url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-031.0.txt"},{"name":"CLA-2002:504","refsource":"CONECTIVA","url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000504"},{"name":"MDKSA-2002:048","refsource":"MANDRAKE","url":"http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-048.php"},{"name":"SuSE-SA:2002:028","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html"},{"name":"RHSA-2002:134","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-134.html"},{"name":"RHSA-2002:136","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-136.html"},{"name":"20020622 Another flaw in Apache?","refsource":"VULN-DEV","url":"http://marc.info/?l=vuln-dev&m=102477330617604&w=2"},{"name":"20020628 TSL-2002-0058 - apache/mod_ssl","refsource":"BUGTRAQ","url":"http://archives.neohapsis.com/archives/bugtraq/2002-06/0350.html"},{"name":"5084","refsource":"BID","url":"http://www.securityfocus.com/bid/5084"},{"name":"20020624 Apache mod_ssl off-by-one vulnerability","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=102513970919836&w=2"},{"name":"RHSA-2002:135","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-135.html"},{"name":"RHSA-2002:146","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-146.html"},{"name":"HPSBTL0207-052","refsource":"HP","url":"http://archives.neohapsis.com/archives/hp/2002-q3/0018.html"},{"name":"DSA-135","refsource":"DEBIAN","url":"http://www.debian.org/security/2002/dsa-135"},{"name":"ESA-20020702-017","refsource":"ENGARDE","url":"http://marc.info/?l=bugtraq&m=102563469326072&w=2"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2002-0653","datePublished":"2003-04-02T05:00:00.000Z","dateReserved":"2002-07-02T00:00:00.000Z","dateUpdated":"2024-08-08T02:56:38.466Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2002-07-11 04:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["CWE-193","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:modssl:mod_ssl:*:*:*:*:*:*:*:*","versionEndIncluding":"2.8.9","matchCriteriaId":"844D1E7A-906B-421C-8C22-A612E16C72C5"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2002","CveId":"653","Ordinal":"1","Title":"CVE-2002-0653","CVE":"CVE-2002-0653","Year":"2002"},"notes":[{"CveYear":"2002","CveId":"653","Ordinal":"1","NoteData":"Off-by-one buffer overflow in the ssl_compat_directive function, as called by the rewrite_command hook for mod_ssl Apache module 2.8.9 and earlier, allows local users to execute arbitrary code as the Apache server user via .htaccess files with long entries.","Type":"Description","Title":"CVE-2002-0653"},{"CveYear":"2002","CveId":"653","Ordinal":"2","NoteData":"2003-04-02","Type":"Other","Title":"Published"},{"CveYear":"2002","CveId":"653","Ordinal":"3","NoteData":"2002-08-16","Type":"Other","Title":"Modified"}]}}}