Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using xxe to obtain passwd of linux system

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Reference an external DTD file to access the intranet host / port.

(see response time)

Reference external DTD files to access the wai network.

Reference an internal entity.

& xxe

External entities read local files.

& xxe

The external entity accesses the inner wang host port.

(see response time)

External entities access the wai network.

& xxe

Download the rrodrigo/xxelab image in docker

Start: docker run-d-p 8082VOL80 rrodrigo/xxelab

Grab the registration package and find that it is delivered in xml format, and the mailbox returns:

Xxe echo setting read / etc/passwd will be performed at the returned content

Use base64 coding for xxe to prevent verification of return packets

Return base64 packet, base64 decode

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report