ShopNC provides excellent protection against user privacy information at the front-end, but ignores the protection of an api, resulting in vulnerability generation.
Attackers can directly obtain json strings containing the user order details.
Use the official mall for demonstration (http://www.shopnctest.com/ C2C /2013/test/ username shopnc password shopnc)
Url: http://www.shopnctest.com/ C2C /2013/test/mobile/28aeb56bf14c9a5f826f8ad65bc6d7f0.php? Commend = order_detail & order_id = 570
The oder_id variable can be traversed.
The correct response is as follows:
This also contains the user address and order information, such as the purchased product and quantity, and the total price.
PS. The long string of interface addresses can be captured from the mobile client. I guess this is the default address. I tested the address of a mall.
Solution:
Authentication is also required for mobile client-oriented APIs.