mrminer reports: digiliens adv touchscreen shou ... #4876
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#4876
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mrminer reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
What does the advanced touchscreen do, in contrast to the normal one?
Allows to directly set the node formspec... could be exploited in some way probably? Not sure how exactly.
Note this is aliased in [https://github.com/mt-mods/digistuff]:
And I guess what is upstream [https://cheapiesystems.com/git/digistuff] has the extra functionality.
I find a forum thread that does show a direct comparison of touchscreen vs adv touchscreen for setup, at [https://content.minetest.net/threads/719/#reply-3978].
Also reference [https://luk3yx.gitlab.io/minetest-formspec-editor/] for a WYSIWYG formspec designer web app.
that's rather dangerous, hostile formspecs can cause client crashes or display arbitrary images
Does msg come unescaped from userinput? Could they call any function in that?
You can set it to arbitrary string via digilines.
https://cheapiesystems.com/git/digistuff/tree/touchscreen.lua#n258
Not sure about executing code, but via that formspec you have access to this:
Any node metadata ????
A detached inventory ????
Cuurent player as in "the object ref" ??
No, you can just create a formspec of all those inventories... it would still call all the callbacks for them though, so maybe even not as catastrophic for everything X)
But yeah, that's why it's not craftable probably :p
right, this is scary. it'd let you see any inventory in the game, and interact w/ any of them if the callbacks aren't restrictive enough. at the very least, it'd let you take stuff out of any of your chests anywhere in the world.
Can we make sure the normal touchscreen does not have those "features" ?
wouldn't the anticheat prevent that, as you are interacting with inventory from more than allowed distance?
hmmm i thought it just blocked dig/place and left-click/right-click, possibly it also blocks interact w/ node inventories from a distance? but i don't think it'd block interacting w/ player or detached inventories from a distance?
Did some experiments:
So, this is not catastrophic, but if inventory does not have right callbacks, can be exploited. Anyway,
digistuff:advtouchscreen
should not be craftable and accessible to random people.I think we can close this as
wontfix
.Is there any useful case of this for developing Your Land? If not, then alias it away as in the mt-mods repo to avoid accidental use.
not that i can think of. if we want to show custom formspec, we can just write a mod.
vote to make this staff-only, ASAP.
i've taken the initiative to gate this on staff priv. if i'm mistaken, it's easy to reverse
e84490d36b