Giter Club home page Giter Club logo

Comments (4)

de-jcup avatar de-jcup commented on September 27, 2024

image

Plantuml-Code:

component Client as client
component "ASP server" as aspServer
component "ASP attack server" as attackServer
interface "malware PDF" as malware
aspServer <- Alice  :start (1)
Alice -> client
Bob -> aspServer : stop (2)
Bob -> attackServer :start (3)
client ->attackServer: connect (4)
attackServer -> malware :delivers

from asp.

de-jcup avatar de-jcup commented on September 27, 2024

Could we prevent the situation when a hacker has already access/rights to local system?

I do not think so. Inside this scenario an attacker has already access to local system. So he/she is able to replace any existing PDF file on local file system too. Also replacement of JRuby parts etc. could be done, maybe even a replacement of a installed asciidoctor variant.

So I do not think that one can rule out the possibility in general, if an attacker has already access to a developer machine.

from asp.

de-jcup avatar de-jcup commented on September 27, 2024

close ticket, because a local access by attacker cannot be solved that way at all

from asp.

de-jcup avatar de-jcup commented on September 27, 2024

Back again, because: An attacker could have another user account (hacked) and start there a fake ASP server instance. At the hacked account there are not much rights (no admin, etc.). But vicitim developer could use the started ASP server and have e.g. administrative rights so we could have there a priviledge escalation again...

Solution 1 (encryption)

So it would be better if the server would create a random key on startup, give back the key to the starter of the server instance (user/developer).

This secret key should be used by server and also by client to encrypt/decrypt data transfer. So more secure data, but also the communication can only happen if both (client/server) know the same key.

If the encryption fails (no valid json, no teminators etc.) the connection is not trusted.

Solution 2 (mitigation by no reuse of running ASP instances)

As long as there is no encryption implemented, callers could insist on their own running instances of ASP server means, as long as the server instance (process) is running an connected to port its own variant. A server disrupt should automatically terminate client calls or mark them as untrusted. Reuse of running ASP instances is forbidden.

from asp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.