Comments (4)
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.
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.
close ticket, because a local access by attacker cannot be solved that way at all
from asp.
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)
- Upgrade to new asciidoctorj-diagram versions
- Release Version 1.3.0
- Release 1.3.1 HOT 2
- Provide ASP libraries at maven central HOT 1
- Update README.doc and describe gradle and maven integration via maven central
- Upgrade asciidoctor version + pdf + diagram
- Provide release build by github actions
- Release V1.4.0
- Special treatment for environment variable GRAPHVIZ_DOT necessary HOT 1
- Avoid deprecated parts from AsciidoctorJ
- Move test applications to integration-test
- Remove deprecated method `resolveAttributes` from asp client
- Make github release action production ready - currently only draft
- Provide asciidoctorj API dependencies at compile time
- Deploy version 1.3.2
- Coderay syntax highlighting no longer working
- Client sends always Version 0.0.0 to server
- Release 1.4.1
- asp server asciidoctorj launcher dist has now ApClient manifest entry
- ASP Does it send .adoc files away? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asp.