首页 > 其他分享 >[PortSwigger] Lab: Finding and exploiting an unused API endpoint

[PortSwigger] Lab: Finding and exploiting an unused API endpoint

时间:2024-09-18 14:38:20浏览次数:1  
标签:endpoint 發現 exploiting PortSwigger js api 價格 Finding 改成

image

登入,加入Lightweight l33t Leather Jacket 到購物車,結帳
發現是錢不夠
image

看前端js
https://0a63004a0420062c80b83ad30022000c.web-security-academy.net/resources/js/api/productPrice.js

會去拿product的價格
image

找到api
image

改成post ,發現product有個patch可以用
image

改成patch,提示content-type不合
image

加content-type & body,提示非負整整
image

改成0,把Lightweight l33t Leather Jacket 的價格變成0,就可以結帳
image

image

image

标签:endpoint,發現,exploiting,PortSwigger,js,api,價格,Finding,改成
From: https://www.cnblogs.com/seako/p/18410642

相关文章

  • Azure web app has no access to openai private endpoint in virtual network
    题意:"AzureWeb应用无法访问虚拟网络中的OpenAI私有端点。"问题背景:IamtryingtohostawebapplicationsimilartoaprivateChatGPTinstancewithinasecludedvirtualnetwork,ensuringthatthere'snoexternalinternetaccess."我正在尝试在一个隔离的......
  • service和endpoints是如何关联的?
    在Kubernetes中,Service和Endpoints之间的关联通过标签选择器和动态更新机制实现。以下是它们之间的关系及一个具体的示例。关联机制标签选择器:当创建一个Service时,可以指定一个标签选择器,这个选择器用于匹配后端Pod。符合选择器条件的Pod会被纳入到Endpoints中。......
  • 导入数据至数据集时报错Meta endpoint! Unexpected status code: 502, with response
    我的dify服务器是在内网环境,首先它需要通过代理去调用LLM,但打开代理后调用difyweaviate服务会报错:Metaendpoint!Unexpectedstatuscode:502,withresponsebody:None.所以,需要做的是:既要在调用LLM的时候走代理,又要调用difyweaviate服务的时候不走代理。配置如下:di......
  • [1050] Website endpoints in AWS
    ref:WebsiteendpointsWebsiteendpointexamplesThefollowingexamplesshowhowyoucanaccessanAmazonS3bucketthatisconfiguredasastaticwebsite.Example—RequestinganobjectattherootlevelTorequestaspecificobjectthatisstored......
  • 实战篇——支付逻辑漏洞portswigger靶场实战
    实战篇——支付逻辑漏洞portswigger靶场实战portswigger是burpsuite的官方在线靶场,内置了大量常见Web漏洞的场景,本章以Businesslogicvulnerabilities一章为例,浅析支付逻辑漏洞。Excessivetrustinclient-sidecontrols点击Addtocart,抓包:将price改成1,发送:成功篡改价......
  • Microsoft Endpoint Manager(MEM)是微软的一体化端点管理平台,结合了Microsoft Intune和C
    MicrosoftEndpointManager(MEM)是微软的一体化端点管理平台,结合了MicrosoftIntune和ConfigurationManager(SCCM),为企业提供跨设备、跨平台的终端管理和安全性管理能力。主要特点和功能包括:统一管理控制台:MEM提供了统一的管理控制台,使IT管理员可以从一个地方管理和监控企业中的......
  • 333 Login Endpoint
    步骤1、LoginDTO.csCitiesManager.Core/DTO文件夹下新建LoginDTO.csusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel.DataAnnotations;namespaceCitiesManager.Core.DTO{publicclassLoginDTO{[Required(ErrorMessage......
  • 【报错】IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITI
    一、报错内容java.lang.IllegalStateException:Theremoteendpointwasinstate[TEXT_FULL_WRITING]whichisaninvalidstateforcalledmethod atorg.apache.tomcat.websocket.WsRemoteEndpointImplBase$StateMachine.checkState(WsRemoteEndpointImplBase.java:1234) a......
  • kubernetes-外部数据库服务映射至集群内-Service与Endpoints的关系
    创建yaml文件配置数据库信息kind:ServiceapiVersion:v1metadata:name:mysql-svcnamespace:ops-systemspec:type:ClusterIP #Kubernetes将为此服务随机分配一个集群内部的IP地址ClusterIP类型的服务只能在集群内部访问,提供了一个内部访问的固定IP地址,不对......
  • crictl images报错runtime connect using default endpoints: [unix:///var/run/docke
    想试试containerd运行k8s,结果报错还在找dockershim,网上找了解决方法crictl依次查找容器运行时,当查找第一个unix:///var/run/dockershim.sock没有找到,所以报错了,需要你手动指定当前kubernetes的容器运行时,使用什么,例如:kubernetes1.24+之后,dockershim已经变成了cri-docker,所以......