# 631 -ipp

IPP는 Internet Printing Protocol로 네트워크를 통해 프린터에 인쇄 등의 명령을 전송하기 위한 프로토콜입니다. 프린터에서 IPP 프로토콜이 활성화 되어 있을 때, /ipp/print 경로에 양식에 맞는 스크립트를 전송 시 출력이 가능한 상태라면 용지를 출력합니다.

{% code title="IPP 테스트 스크립트 (ipp.test)" %}

```
{
  OPERATION Print-Job
  GROUP operation-attributes-tag
  ATTR charset attributes-charset utf-8
  ATTR language attributes-natural-language en
  ATTR uri printer-uri ipp://192.168.1.250:631/ipp/print
  ATTR name requesting-user-name "GUEST"
  FILE input.txt
}
```

{% endcode %}

<pre><code><strong># IPP 프로토콜 요청
</strong>ipptool -tv ipp://192.168.1.250:631/ipp/print ipp.test
</code></pre>

FILE 인자로 선택한 input.txt 파일의 내용이 용지에 출력되며 이는 보안 취약점이 아닌 IPP 프로토콜의 정상적인 기능을 이용한 것입니다. 사실상 프린터에 출력 요청을 보낸 것과 동일하지만, 임직원이 접근할 수 있는 내부망에 위치하지 않고 외부에 노출되어 있을 경우 공격자는 인쇄를 통해 피싱을 노릴 수 있습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pentestwiki.com/post-exploit/protocols/631-ipp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
