☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 🐛 CWE-122
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2017-2819

CVE-2017-2819 Heap Buffer Overflow in Hancom
📅 PUBLISHED: 2017-05-24 00:00 UTC 🔄 UPDATED: 2026-08-12 09:00 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.66%
👁️
1.66% probability
41.6× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 9.6.1.4902 (Thinkfree Office NEO); vulnerable component Hangul Word Processor 9.6.1.4350
CVSS VECTOR BREAKDOWN 8.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2017-2819 is an exploitable heap-based buffer overflow in the Hangul Word Processor component of Hancom Thinkfree Office NEO 9.6.1.4902. An attacker can craft a malicious document that, when opened by a victim, triggers an integer underflow leading to a buffer overflow and arbitrary code execution in the context of the application. The vulnerability is unpatched as of the latest available information, and successful exploitation requires victim interaction — specifically opening a specially crafted document. The CVSS score of 8.8 reflects the high confidentiality, integrity, and availability impact combined with a low attack complexity and no privilege requirements beyond user interaction.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The vulnerability resides in the Hangul Word Processor component (version 9.6.1.4350), which is distributed as part of Hancom Thinkfree Office NEO 9.6.1.4902. The flaw is a heap-based buffer overflow triggered by an integer underflow condition. When parsing a specially crafted document stream, the application performs an arithmetic operation that results in an underflow — producing an unexpectedly large unsigned value. This value is subsequently used in a memory operation (such as a memcpy or similar buffer-write routine) that writes beyond the bounds of an allocated heap buffer.

The attack mechanism is document-format parsing: the vulnerability is reachable through the normal document-open workflow of the application. From a vulnerability-class perspective, this belongs to the family of parsing-related memory-corruption issues (CWE-122: Heap-based Buffer Overflow). The root cause is an integer underflow (CWE-191) that occurs during size computation derived from data embedded in the document stream.

No specific function names, class names, or code-level identifiers are provided in the available disclosure; the technical detail is limited to the vendor, component, version, and the general integer-underflow-to-buffer-overflow chain. The attack surface is the application's document parsing engine, which processes untrusted input (documents) without requiring elevated privileges on the part of the attacker prior to exploitation.


Exploitation Scenarios

The exploitation chain for CVE-2017-2819 follows a client-side, social-engineering-driven model. No public PoC is known to be available; the chain is inferred from the vulnerability class.

  1. Reconnaissance and Target Identification: The attacker identifies users of Hancom Thinkfree Office NEO — a document productivity suite popular in South Korea and other Asian markets. Targets may include corporate users, government agencies, or individuals who regularly open office documents. The attacker profiles the target environment to confirm the presence of the vulnerable software version.

  2. Crafting the Malicious Document: The attacker constructs a document file (using the Hangul Word Processor's native format) that embeds a malformed stream designed to trigger the integer underflow. The specific trigger requires the document to contain certain structural elements that cause the application's parser to compute a buffer size using an arithmetic operation that underflows. The attacker likely reverse-engineered the parser logic or derived the trigger from the original researcher's disclosure.

  3. Delivery and Trigger: The attacker transmits the malicious document via email attachment, USB drive, or a file-sharing link. The document is socially engineered to appear legitimate (e.g., a business report, invoice, or government notice). When the victim opens the document with the vulnerable component, the parser processes the malformed stream, the integer underflow occurs, and the subsequent memory write overwrites heap metadata or adjacent heap objects with attacker-controlled data.

  4. Code Execution and Post-Exploitation: The heap overflow allows the attacker to corrupt adjacent heap allocations, potentially overwriting function pointers, object vtables, or other critical data structures. This leads to arbitrary code execution in the context of the application (the logged-in user's privileges). Post-exploitation, the attacker can install malware, exfiltrate sensitive documents, move laterally within the network, or establish persistence. Since the application runs in the user's session, the impact is at the user privilege level, unless the user has administrative rights.


Impact Assessment

The business impact of CVE-2017-2819 is significant for organizations relying on Hancom Thinkfree Office NEO for document processing. Successful exploitation results in remote code execution with the privileges of the victim user, enabling data theft, malware installation, and potentially full host compromise. The CVSS v3 subscore pattern (base score 8.8) reflects high Impact on Confidentiality, Integrity, and Availability, with a Low Attack Complexity and no privileges required, but User Interaction required (the victim must open the document).

Affected systems are workstations and laptops running Thinkfree Office NEO 9.6.1.4902 with the Hangul Word Processor component version 9.6.1.4350. The blast radius extends to any sensitive data processed by the office suite, including business documents, financial records, and personally identifiable information. In enterprise environments where the suite is deployed across many endpoints, a single successful phish could provide an initial foothold for a broader intrusion.

The vulnerability is unpatched, increasing the risk window indefinitely. The EPSS score of 0.01664 (74.5th percentile) indicates a moderate-to-elevated probability of exploitation in the wild, though it does not currently appear on the CISA Known Exploited Vulnerabilities list. The lack of a confirmed public exploit code does not preclude private exploit development by threat actors.


Detection Guidance

Sigma Rule

title: Hancom Thinkfree Office Hangul Word Processor Malicious Document Detection
id: 9b8b2e5d-4c91-4c7e-b8e2-6f1a0f7c5b91
status: experimental
description: Detects potential exploitation of CVE-2017-2819 via malicious Hangul document files
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2017-2819
author: Valtersit Threat Intel Team
date: 2024/01/15
tags:
    - attack.t1203
    - attack.initial-access
logsource:
    product: windows
    category: file_event
detection:
    selection_extension:
        TargetFilename|endswith:
            - '\.hwp'
            - '\.hwpx'
            - '\.hml'
    selection_anomaly:
        TargetFilename|contains: 'Temp'
    condition: selection_extension and selection_anomaly
falsepositives:
    - Legitimate Hangul documents opened by users
level: high

YARA Rule

rule Hancom_Hangul_CVE_2017_2819
{
    meta:
        author = "Valtersit Threat Intel"
        description = "Detects suspicious Hangul Word Processor document files potentially targeting CVE-2017-2819"
        date = "2024-01-15"
        cve = "CVE-2017-2819"
    strings:
        $hwp_magic = { A5 02 00 00 00 00 00 00 }
        $underflow_pattern = { 00 00 00 00 FF FF FF FF }
        $doc_stream = "FileHeader" ascii nocase
    condition:
        ($hwp_magic at 0 or $hwp_magic in (0..16)) and 2 of them
}

Suricata IDS Rule


alert http any any -> any any (msg:"CVE-2017-2819 Hancom Hangul Malicious Document Delivery via HTTP"; flow:established,to_client; fileext:"hwp"; fileext:"hwpx"; fileext:"hml"; content:"|A5 02 00 00|"; offset:0; depth:8; classtype:trojan-activity; gid:1; sid:1002819; rev:1; reference:cve,CVE-2017-2819;)

Elastic Detection

detection:
  - query:
      eql:
        sequence:
          - file:
              event.category: file
              file.extension: [hwp, hwpx, hml]
          - process:
              event.category: process
              process.name: [Hwp.exe, HncHwp.exe, thinksv.exe, swriter.exe]
          - file:
              event.category: file
              file.path: "*Temp*"

Splunk SPL Query

(index=windows OR index=endpoint) sourcetype=WinEventLog:Security OR sourcetype=XmlWinEventLog
| where EventCode IN (4688, 11) OR Channel="Microsoft-Windows-Sysmon/Operational"
| search (TargetFilename OR Image OR CommandLine) 
| regex TargetFilename="(?i)\.(hwp|hwpx|hml)$" OR Image="(?i)(Hwp|HncHwp|thinksv)\.exe"
| table _time, host, user, TargetFilename, Image, CommandLine
| sort - _time

Wazuh OSSEC Rule

<group name="hancom,">
  <rule id="160680" level="12">
    <if_sid>550, 551, 552</if_sid>
    <match>(hwp|hwpx|hml)</match>
    <regex>\.(hwp|hwpx|hml)$</regex>
    <description>CVE-2017-2819: Hancom Hangul Word Processor malicious document detected (heap buffer overflow)</description>
    <group>hancom,vulnerability,exploit,</group>
  </rule>
</group>

Mitigation & Patch Guidance

Patch Status: UNPATCHED (Patch confidence: 0/4). No vendor patch has been identified from any tracked source, and there is no confirmed vendor fix as of the latest tracking period. This is a critical concern given the severity of the flaw.

Immediate Mitigations:

  1. Restrict opening of Hangul document formats (.hwp, .hwpx) from untrusted sources. Use email gateway filtering to block these attachment types from external senders.
  2. Implement application whitelisting to prevent any process other than approved document viewers from executing files originating from untrusted contexts.
  3. Enable OS-level and application-level DEP/ASLR; in the absence of a patch, these can make exploitation more difficult, though they are not a definitive fix.
  4. Educate users about phishing and malvertising risks associated with office documents. Emphasize that documents received via unexpected channels should be verified with the sender.

Patch/Upgrade Steps:

  1. Monitor vendor advisories from Hancom. Track the vendor's product update pages for a patched version of Thinkfree Office NEO and the Hangul Word Processor component.
  2. When a patch becomes available, test it in a staging environment and deploy via the organization's software update mechanism. If the suite includes an auto-update feature, verify it is enabled and configured to check frequently.
  3. In the absence of a vendor patch, consider alternative document viewers or sandbox-based isolation (e.g., opening Hangul documents in a virtualized environment or using a cloud-based rendering service that does not expose the vulnerable parser to the endpoint).

Long-Term Hardening:

  1. Adopt an endpoint detection and response (EDR) solution configured to monitor document-handling processes for abnormal memory behavior that could indicate heap corruption.
  2. Maintain an inventory of software versions across the enterprise to enable rapid response to future disclosures affecting this suite.
  3. Evaluate whether Hancom Thinkfree Office NEO is a business-essential application; if not, consider migration to an actively maintained alternative.
  4. Incorporate the Sigma/YARA/Suricata/Elastic/Splunk detection rules above into the SIEM/EDR workflows forensically monitoring the endpoints where the suite is installed.

References

  1. NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-2819 — Official NVD entry with CVSS 8.8 score and description.
  2. Talos Intelligence (researcher disclosure): https://talosintelligence.com/vulnerability_reports/TALOS-2017-0320 — Original vulnerability research detailing the Hangul Word Processor heap overflow.
  3. CISA Known Exploited Vulnerabilities Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog — Confirms CVE-2017-2819 is NOT listed (no known in-the-wild exploitation confirmed).
  4. Hancom Product Page: https://www.hancom.com/ — Vendor site for tracking updates and product versions (to monitor for patch availability).
  5. FIRST EPSS: https://www.first.org/epss/api — EPSS score reference data (0.01664, 74.5th percentile) for exploitation probability assessment.

No known threat actor campaigns have been publicly attributed to CVE-2017-2819. Exploit-in-the-wild evidence is unconfirmed; the vulnerability has not been added to the CISA KEV catalog. Given the EPSS percentile (74.5%), the probability of future exploitation remains elevated, and monitoring for malicious Hangul documents is recommended.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

product:Hancom
http.title:"Thinkfree"
http.html:"Hancom Office"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2017-2819/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.