{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2002-1145 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2002-1145 yet. Limit exposure of the affected software until one is available.","what":"CVE-2002-1145 is a critical vulnerability in Microsoft Sql Server, published on 21 Oct 2002. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2002-1145 and fix it if it is affected.\n\nWhat it is: CVE-2002-1145 is a critical vulnerability in Microsoft Sql Server, published on 21 Oct 2002. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2002-1145 in the wild and no public exploit code.\n\nAffected product: Microsoft Sql Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2002-1145/ (Markdown: https://insights.sbomify.com/CVE-2002-1145/index.md)","id":"CVE-2002-1145","markdown":"https://insights.sbomify.com/CVE-2002-1145/index.md","name":"CVE-2002-1145","record":{"aliases":["GHSA-fj52-r29c-ggwc"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft SQL Server","requires_auth":"low_privilege","summary":"An attacker with low privileges can escalate to database owner by modifying web tasks due to weak permissions on the mswebtasks table.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"data_engine","vendor":"microsoft"},{"product":"sql_server","vendor":"microsoft"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"The xp_runwebtask stored procedure in the Web Tasks component of Microsoft SQL Server 7.0 and 2000, Microsoft Data Engine (MSDE) 1.0, and Microsoft Desktop Engine (MSDE) 2000 can be executed by PUBLIC, which allows an attacker to gain privileges by updating a webtask that is owned by the database owner through the msdb.dbo.mswebtasks table, which does not have strong permissions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Privilege escalation in n/a","id":"CVE-2002-1145","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:sql_server","products":["microsoft:sql_server"],"type":"privilege_escalation","year":"2002"},"n_packages":0,"n_references":7,"next":{"headline":"Memory corruption in n/a","id":"CVE-2002-1146"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2002-1143"},"products":["n/a"],"published":"2002-10-21","related":[{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2002-0721","kev_date_added":null,"published":"2002-08-20"},{"cvss_score":9,"headline":"Memory corruption in n/a","id":"CVE-2008-0086","kev_date_added":null,"published":"2008-07-08"},{"cvss_score":9,"headline":"Memory corruption in n/a","id":"CVE-2008-0106","kev_date_added":null,"published":"2008-07-08"},{"cvss_score":9,"headline":"Integer overflow in n/a","id":"CVE-2008-0107","kev_date_added":null,"published":"2008-07-08"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-1123","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-1137","kev_date_added":null,"published":"2004-09-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"An attacker with low privileges can escalate to database owner by modifying web tasks due to weak permissions on the mswebtasks table.","url":"https://insights.sbomify.com/CVE-2002-1145/"}